home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1997-05-06 | 13.2 MB | [Guid/DanR] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue May 6 13:20:44 1997, modified Tue May 6 16:05:00 1997, creator 'DanR', type 'Guid', 4797664 bytes "MacTech Vol 12-1996" , at 0x493560 9031706 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [Guid] |
macFileCreator | [DanR] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 4d 61 63 54 65 63 | 68 20 56 6f 6c 20 31 32 |..MacTec|h Vol 12|
|00000010| 2d 31 39 39 36 00 00 00 | 00 00 00 00 00 00 00 00 |-1996...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 47 75 69 64 44 61 6e | 52 01 00 00 00 00 00 00 |.GuidDan|R.......|
|00000050| 00 00 00 00 49 34 e0 00 | 89 d0 1a af 95 18 ec af |....I4..|........|
|00000060| 95 3f 6c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.?l.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 94 40 00 00 |........|.....@..|
|00000080| 4e 47 4d 43 00 5d 44 52 | 00 00 00 00 10 ff ff 12 |NGMC.]DR|........|
|00000090| 43 47 49 73 20 61 6e 64 | 20 57 65 62 53 74 61 72 |CGIs and| WebStar|
|000000a0| 20 32 ff ff 10 43 47 49 | 73 20 61 6e 64 20 57 65 | 2...CGI|s and We|
|000000b0| 62 53 54 41 52 ff ff 0d | 46 72 6f 6e 74 69 65 72 |bSTAR...|Frontier|
|000000c0| 20 43 47 49 73 00 0d 07 | 4d 61 63 20 49 53 50 00 | CGIs...|Mac ISP.|
|000000d0| 0e 19 4d 75 6c 74 69 68 | 6f 6d 69 6e 67 20 77 69 |..Multih|oming wi|
|000000e0| 74 68 20 48 6f 6d 65 64 | 6f 6f 72 00 37 15 54 68 |th Homed|oor.7.Th|
|000000f0| 72 65 61 64 65 64 20 41 | 70 70 6c 65 20 45 76 65 |readed A|pple Eve|
|00000100| 6e 74 73 00 3a 0a 43 47 | 49 73 20 69 6e 20 34 44 |nts.:.CG|Is in 4D|
|00000110| 00 56 0c 43 47 49 73 20 | 69 6e 20 4c 69 73 70 00 |.V.CGIs |in Lisp.|
|00000120| 96 0b 4e 6f 76 20 39 36 | 20 55 52 4c 73 ff ff 0f |..Nov 96| URLs...|
|00000130| 41 70 70 6c 65 53 63 72 | 69 70 74 20 31 2e 30 ff |AppleScr|ipt 1.0.|
|00000140| ff 12 53 63 72 69 70 74 | 20 41 70 70 20 45 78 61 |..Script| App Exa|
|00000150| 6d 70 6c 65 ff ff 0e 46 | 72 6f 6e 74 69 65 72 20 |mple...F|rontier |
|00000160| 47 75 69 64 65 ff ff 12 | 45 78 74 65 6e 64 20 41 |Guide...|Extend A|
|00000170| 70 70 6c 65 73 63 72 69 | 70 74 00 1d 0c 53 63 72 |pplescri|pt...Scr|
|00000180| 69 70 74 73 20 4d 65 6e | 75 00 39 0e 41 53 20 50 |ipts Men|u.9.AS P|
|00000190| 65 72 66 6f 72 6d 61 6e | 63 65 00 43 0b 4d 61 79 |erforman|ce.C.May|
|000001a0| 20 39 36 20 54 69 70 73 | 0e 41 53 20 76 73 20 46 | 96 Tips|.AS vs F|
|000001b0| 72 6f 6e 74 69 65 72 00 | 00 eb 00 00 00 0c 00 09 |rontier.|........|
|000001c0| 00 12 c3 56 6f 6c 75 6d | 65 20 4e 75 6d 62 65 72 |...Volum|e Number|
|000001d0| 3a 97 31 32 00 00 00 18 | 00 09 00 10 c3 49 73 73 |:.12....|.....Iss|
|000001e0| 75 65 20 4e 75 6d 62 65 | 72 3a a2 31 00 00 00 24 |ue Numbe|r:.1...$|
|000001f0| 00 09 00 21 c3 43 6f 6c | 75 6d 6e 20 54 61 67 3a |...!.Col|umn Tag:|
|00000200| b0 49 6e 74 65 72 6e 65 | 74 20 44 65 76 65 6c 6f |.Interne|t Develo|
|00000210| 70 6d 65 6e 74 00 00 00 | 00 5d 00 09 00 2f c4 43 |pment...|.].../.C|
|00000220| 47 49 ff d5 73 3a 20 41 | 70 70 6c 65 53 63 72 69 |GI..s: A|ppleScri|
|00000230| 70 74 20 6f 72 20 46 72 | 6f 6e 74 69 65 72 3f 80 |pt or Fr|ontier?.|
|00000240| 01 62 f0 00 80 00 20 20 | f0 00 81 00 20 00 00 00 |.b.... |.... ...|
|00000250| 00 75 00 09 00 35 c3 43 | 6f 6d 70 61 72 69 6e 67 |.u...5.C|omparing|
|00000260| 20 73 63 72 69 70 74 69 | 6e 67 20 65 6e 76 69 72 | scripti|ng envir|
|00000270| 6f 6e 6d 65 6e 74 73 20 | 66 6f 72 20 43 47 49 20 |onments |for CGI |
|00000280| 64 65 76 65 6c 6f 70 6d | 65 6e 74 00 00 00 00 89 |developm|ent.....|
|00000290| 00 09 00 0e c5 42 79 20 | 4d 61 73 6f 6e 20 48 61 |.....By |Mason Ha|
|000002a0| 6c 65 00 00 00 ac 00 09 | 00 55 c5 f0 00 82 00 12 |le......|.U......|
|000002b0| 20 4e 6f 74 65 3a 20 20 | 53 6f 75 72 63 65 20 63 | Note: |Source c|
|000002c0| 6f 64 65 20 66 69 6c 65 | 73 20 61 63 63 6f 6d 70 |ode file|s accomp|
|000002d0| 61 6e 79 69 6e 67 20 61 | 72 74 69 63 6c 65 20 61 |anying a|rticle a|
|000002e0| 72 65 20 6c 6f 63 61 74 | 65 64 20 6f 6e 20 4d 61 |re locat|ed on Ma|
|000002f0| 63 54 65 63 68 20 43 44 | 2d 52 4f 4d 20 6f 72 00 |cTech CD|-ROM or.|
|00000300| 00 00 00 b8 00 09 00 13 | c5 73 6f 75 72 63 65 20 |........|.source |
|00000310| 63 6f 64 65 20 64 69 73 | 6b 73 2e 00 00 00 00 cc |code dis|ks......|
|00000320| 00 09 00 58 c2 49 6e 20 | 61 20 70 72 65 76 69 6f |...X.In |a previo|
|00000330| 75 73 20 61 72 74 69 63 | 6c 65 2c 20 ff d2 53 63 |us artic|le, ..Sc|
|00000340| 72 69 70 74 69 6e 67 20 | 74 68 65 20 57 65 62 20 |ripting |the Web |
|00000350| 77 69 74 68 20 46 72 6f | 6e 74 69 65 72 ff d3 2c |with Fro|ntier..,|
|00000360| 20 49 20 69 6e 74 72 6f | 64 75 63 65 64 20 79 6f | I intro|duced yo|
|00000370| 75 20 74 6f 20 77 72 69 | 74 69 6e 67 00 00 00 d8 |u to wri|ting....|
|00000380| 00 09 00 55 c2 43 47 49 | 20 73 63 72 69 70 74 73 |...U.CGI| scripts|
|00000390| 20 75 73 69 6e 67 20 55 | 73 65 72 4c 61 6e 64 20 | using U|serLand |
|000003a0| 46 72 6f 6e 74 69 65 72 | 2e 20 20 49 6e 20 74 68 |Frontier|. In th|
|000003b0| 61 74 20 61 72 74 69 63 | 6c 65 2c 20 49 20 61 72 |at artic|le, I ar|
|000003c0| 67 75 65 64 20 74 68 61 | 74 20 46 72 6f 6e 74 69 |gued tha|t Fronti|
|000003d0| 65 72 20 77 61 73 20 61 | 6e 00 00 00 00 e4 00 09 |er was a|n.......|
|000003e0| 00 50 c2 65 78 63 65 6c | 6c 65 6e 74 20 61 6c 74 |.P.excel|lent alt|
|000003f0| 65 72 6e 61 74 69 76 65 | 20 66 6f 72 20 77 65 62 |ernative| for web|
|00000400| 6d 61 73 74 65 72 73 20 | 77 68 6f 20 66 65 6c 74 |masters |who felt|
|00000410| 20 66 6f 72 63 65 64 20 | 74 6f 20 63 68 6f 6f 73 | forced |to choos|
|00000420| 65 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 70 6f |e betwee|n the po|
|00000430| 6f 72 00 00 00 f0 00 09 | 00 51 c2 70 65 72 66 6f |or......|.Q.perfo|
|00000440| 72 6d 61 6e 63 65 20 6f | 66 20 41 70 70 6c 65 53 |rmance o|f AppleS|
|00000450| 63 72 69 70 74 20 61 6e | 64 20 74 68 65 20 73 74 |cript an|d the st|
|00000460| 65 65 70 20 6c 65 61 72 | 6e 69 6e 67 20 63 75 72 |eep lear|ning cur|
|00000470| 76 65 20 6f 66 20 43 20 | 62 65 63 61 75 73 65 20 |ve of C |because |
|00000480| 46 72 6f 6e 74 69 65 72 | 20 69 73 00 00 00 00 fc |Frontier| is.....|
|00000490| 00 09 00 55 c2 65 61 73 | 69 65 72 20 74 6f 20 75 |...U.eas|ier to u|
|000004a0| 73 65 20 74 68 61 6e 20 | 43 20 79 65 74 20 67 65 |se than |C yet ge|
|000004b0| 6e 65 72 61 6c 6c 79 20 | 70 65 72 66 6f 72 6d 73 |nerally |performs|
|000004c0| 20 66 61 73 74 65 72 20 | 74 68 61 6e 20 41 70 70 | faster |than App|
|000004d0| 6c 65 53 63 72 69 70 74 | 2c 20 65 73 70 65 63 69 |leScript|, especi|
|000004e0| 61 6c 6c 79 20 77 68 65 | 6e 00 00 00 01 08 00 09 |ally whe|n.......|
|000004f0| 00 4c c2 75 73 65 64 20 | 74 6f 20 63 72 65 61 74 |.L.used |to creat|
|00000500| 65 20 43 47 49 20 61 70 | 70 6c 69 63 61 74 69 6f |e CGI ap|plicatio|
|00000510| 6e 73 2e 20 54 68 61 74 | 20 61 72 67 75 6d 65 6e |ns. That| argumen|
|00000520| 74 20 62 65 63 61 6d 65 | 20 65 76 65 6e 20 6d 6f |t became| even mo|
|00000530| 72 65 20 74 72 75 65 20 | 77 68 65 6e 20 61 00 00 |re true |when a..|
|00000540| 01 14 00 09 00 54 c2 50 | 6f 77 65 72 50 43 2d 6e |.....T.P|owerPC-n|
|00000550| 61 74 69 76 65 20 46 72 | 6f 6e 74 69 65 72 20 77 |ative Fr|ontier w|
|00000560| 61 73 20 72 65 6c 65 61 | 73 65 64 20 66 6f 72 20 |as relea|sed for |
|00000570| 70 75 62 6c 69 63 20 62 | 65 74 61 2d 74 65 73 74 |public b|eta-test|
|00000580| 69 6e 67 20 69 6e 20 6c | 61 74 65 20 4f 63 74 6f |ing in l|ate Octo|
|00000590| 62 65 72 2e 20 20 4c 69 | 6b 65 00 00 01 20 00 09 |ber. Li|ke... ..|
|000005a0| 00 58 c2 64 72 6f 70 70 | 69 6e 67 20 61 20 62 69 |.X.dropp|ing a bi|
|000005b0| 67 67 65 72 20 65 6e 67 | 69 6e 65 20 69 6e 74 6f |gger eng|ine into|
|000005c0| 20 61 20 68 6f 74 20 72 | 6f 64 2c 20 73 63 72 69 | a hot r|od, scri|
|000005d0| 70 74 20 65 78 65 63 75 | 74 69 6f 6e 20 69 6e 73 |pt execu|tion ins|
|000005e0| 74 61 6e 74 6c 79 20 62 | 65 63 6f 6d 65 73 20 6d |tantly b|ecomes m|
|000005f0| 75 63 68 20 66 61 73 74 | 65 72 00 00 01 2c 00 09 |uch fast|er...,..|
|00000600| 00 55 c2 2d 20 69 6e 20 | 73 6f 6d 65 20 63 61 73 |.U.- in |some cas|
|00000610| 65 73 20 75 70 20 74 6f | 20 73 69 78 20 74 69 6d |es up to| six tim|
|00000620| 65 20 66 61 73 74 65 72 | 2e 20 57 69 74 68 20 74 |e faster|. With t|
|00000630| 68 69 73 20 62 6f 6f 73 | 74 20 69 6e 20 73 70 65 |his boos|t in spe|
|00000640| 65 64 20 6f 6e 20 50 6f | 77 65 72 50 43 20 6d 61 |ed on Po|werPC ma|
|00000650| 63 68 69 6e 65 73 2c 00 | 00 00 01 38 00 09 00 57 |chines,.|...8...W|
|00000660| c2 46 72 6f 6e 74 69 65 | 72 20 69 73 20 63 6c 6f |.Frontie|r is clo|
|00000670| 73 69 6e 67 20 74 68 65 | 20 67 61 70 20 6f 6e 20 |sing the| gap on |
|00000680| 43 20 2d 20 6f 66 66 65 | 72 69 6e 67 20 62 6f 74 |C - offe|ring bot|
|00000690| 68 20 65 61 73 65 2d 6f | 66 2d 75 73 65 20 61 6e |h ease-o|f-use an|
|000006a0| 64 20 65 78 63 65 6c 6c | 65 6e 74 20 70 65 72 66 |d excell|ent perf|
|000006b0| 6f 72 6d 61 6e 63 65 00 | 00 00 01 44 00 09 00 34 |ormance.|...D...4|
|000006c0| c2 2d 20 77 68 69 6c 65 | 20 66 75 72 74 68 65 72 |.- while| further|
|000006d0| 20 69 6e 63 72 65 61 73 | 69 6e 67 20 69 74 73 20 | increas|ing its |
|000006e0| 6c 65 61 64 20 6f 6e 20 | 41 70 70 6c 65 53 63 72 |lead on |AppleScr|
|000006f0| 69 70 74 2e 00 00 01 55 | 00 24 00 4e c2 44 65 73 |ipt....U|.$.N.Des|
|00000700| 70 69 74 65 20 74 68 65 | 20 70 72 6f 76 65 6e 20 |pite the| proven |
|00000710| 62 65 6e 65 66 69 74 73 | 20 6f 66 20 75 73 69 6e |benefits| of usin|
|00000720| 67 20 46 72 6f 6e 74 69 | 65 72 20 74 6f 20 77 72 |g Fronti|er to wr|
|00000730| 69 74 65 20 43 47 49 20 | 61 70 70 6c 69 63 61 74 |ite CGI |applicat|
|00000740| 69 6f 6e 73 2c 20 6d 61 | 6e 79 00 00 01 61 00 09 |ions, ma|ny...a..|
|00000750| 00 56 c2 77 65 62 6d 61 | 73 74 65 72 73 20 73 74 |.V.webma|sters st|
|00000760| 69 6c 6c 20 61 72 65 20 | 64 65 76 65 6c 6f 70 69 |ill are |developi|
|00000770| 6e 67 20 74 68 65 69 72 | 20 43 47 49 73 20 69 6e |ng their| CGIs in|
|00000780| 20 41 70 70 6c 65 53 63 | 72 69 70 74 2e 20 54 68 | AppleSc|ript. Th|
|00000790| 69 73 20 69 6e 73 70 69 | 72 65 64 20 6d 65 20 74 |is inspi|red me t|
|000007a0| 6f 20 6c 6f 6f 6b 20 61 | 00 00 01 6d 00 09 00 55 |o look a|...m...U|
|000007b0| c2 62 69 74 20 6d 6f 72 | 65 20 63 6c 6f 73 65 6c |.bit mor|e closel|
|000007c0| 79 20 61 74 20 74 68 65 | 20 64 69 66 66 65 72 65 |y at the| differe|
|000007d0| 6e 63 65 73 20 62 65 74 | 77 65 65 6e 20 43 47 49 |nces bet|ween CGI|
|000007e0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 77 72 | applica|tions wr|
|000007f0| 69 74 74 65 6e 20 69 6e | 20 46 72 6f 6e 74 69 65 |itten in| Frontie|
|00000800| 72 20 61 6e 64 00 00 00 | 01 79 00 09 00 57 c2 74 |r and...|.y...W.t|
|00000810| 68 6f 73 65 20 69 6e 20 | 41 70 70 6c 65 53 63 72 |hose in |AppleScr|
|00000820| 69 70 74 2c 20 70 72 69 | 6d 61 72 69 6c 79 20 66 |ipt, pri|marily f|
|00000830| 6f 63 75 73 69 6e 67 20 | 6f 6e 20 70 65 72 66 6f |ocusing |on perfo|
|00000840| 72 6d 61 6e 63 65 20 69 | 73 73 75 65 73 2e 20 49 |rmance i|ssues. I|
|00000850| 6e 20 74 68 69 73 20 61 | 72 74 69 63 6c 65 20 49 |n this a|rticle I|
|00000860| 20 77 69 6c 6c 00 00 00 | 01 85 00 09 00 56 c2 73 | will...|.....V.s|
|00000870| 68 61 72 65 20 74 68 65 | 20 72 65 73 75 6c 74 73 |hare the| results|
|00000880| 20 6f 66 20 73 6f 6d 65 | 20 6f 66 20 6d 79 20 72 | of some| of my r|
|00000890| 65 63 72 65 61 74 69 6f | 6e 61 6c 20 70 65 72 66 |ecreatio|nal perf|
|000008a0| 6f 72 6d 61 6e 63 65 20 | 74 65 73 74 69 6e 67 2c |ormance |testing,|
|000008b0| 20 61 6e 64 20 65 78 70 | 6c 61 69 6e 20 73 6f 6d | and exp|lain som|
|000008c0| 65 20 6f 66 00 00 01 91 | 00 09 00 32 c2 74 68 65 |e of....|...2.the|
|000008d0| 20 64 69 66 66 65 72 65 | 6e 74 20 73 69 74 75 61 | differe|nt situa|
|000008e0| 74 69 6f 6e 73 20 74 68 | 61 74 20 61 66 66 65 63 |tions th|at affec|
|000008f0| 74 20 70 65 72 66 6f 72 | 6d 61 6e 63 65 2e 00 00 |t perfor|mance...|
|00000900| 01 a2 00 24 00 4b c2 53 | 69 6e 63 65 20 49 20 61 |...$.K.S|ince I a|
|00000910| 6d 20 74 68 65 20 61 75 | 74 68 6f 72 20 6f 66 20 |m the au|thor of |
|00000920| 74 68 65 20 46 72 6f 6e | 74 69 65 72 20 43 47 49 |the Fron|tier CGI|
|00000930| 20 46 72 61 6d 65 77 6f | 72 6b 2c 20 61 20 73 65 | Framewo|rk, a se|
|00000940| 74 20 6f 66 20 73 63 72 | 69 70 74 73 20 74 68 61 |t of scr|ipts tha|
|00000950| 74 00 00 00 01 ae 00 09 | 00 4a c2 65 6e 68 61 6e |t.......|.J.enhan|
|00000960| 63 65 20 43 47 49 20 64 | 65 76 65 6c 6f 70 6d 65 |ce CGI d|evelopme|
|00000970| 6e 74 20 69 6e 20 46 72 | 6f 6e 74 69 65 72 2c 20 |nt in Fr|ontier, |
|00000980| 79 6f 75 20 63 6f 75 6c | 64 20 75 6e 64 65 72 73 |you coul|d unders|
|00000990| 74 61 6e 64 61 62 6c 79 | 20 71 75 65 73 74 69 6f |tandably| questio|
|000009a0| 6e 20 6d 79 00 00 01 ba | 00 09 00 5a c2 6f 62 6a |n my....|...Z.obj|
|000009b0| 65 63 74 69 76 69 74 79 | 20 69 6e 20 64 6f 69 6e |ectivity| in doin|
|000009c0| 67 20 73 75 63 68 20 61 | 20 63 6f 6d 70 61 72 69 |g such a| compari|
|000009d0| 73 6f 6e 2e 20 4f 6e 20 | 74 68 65 20 6f 74 68 65 |son. On |the othe|
|000009e0| 72 20 68 61 6e 64 2c 20 | 73 69 6e 63 65 20 49 20 |r hand, |since I |
|000009f0| 68 61 76 65 20 64 6f 6e | 65 20 61 20 67 72 65 61 |have don|e a grea|
|00000a00| 74 20 64 65 61 6c 00 00 | 01 c6 00 09 00 59 c2 6f |t deal..|.....Y.o|
|00000a10| 66 20 43 47 49 20 64 65 | 76 65 6c 6f 70 6d 65 6e |f CGI de|velopmen|
|00000a20| 74 20 69 6e 20 62 6f 74 | 68 20 65 6e 76 69 72 6f |t in bot|h enviro|
|00000a30| 6e 6d 65 6e 74 73 2c 20 | 49 20 61 6d 20 61 6c 73 |nments, |I am als|
|00000a40| 6f 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 66 65 77 |o one of| the few|
|00000a50| 20 70 65 6f 70 6c 65 20 | 71 75 61 6c 69 66 69 65 | people |qualifie|
|00000a60| 64 20 74 6f 20 64 6f 00 | 00 00 01 d2 00 09 00 53 |d to do.|.......S|
|00000a70| c2 73 75 63 68 20 61 20 | 63 6f 6d 70 61 72 69 73 |.such a |comparis|
|00000a80| 6f 6e 2e 20 49 6e 20 65 | 69 74 68 65 72 20 63 61 |on. In e|ither ca|
|00000a90| 73 65 20 69 74 20 69 73 | 20 6e 6f 74 20 6d 79 20 |se it is| not my |
|00000aa0| 69 6e 74 65 6e 74 20 74 | 6f 20 64 69 73 63 6f 75 |intent t|o discou|
|00000ab0| 6e 74 20 41 70 70 6c 65 | 53 63 72 69 70 74 20 61 |nt Apple|Script a|
|00000ac0| 73 20 61 00 00 00 01 de | 00 09 00 59 c2 73 63 72 |s a.....|...Y.scr|
|00000ad0| 69 70 74 69 6e 67 20 65 | 6e 76 69 72 6f 6e 6d 65 |ipting e|nvironme|
|00000ae0| 6e 74 2e 20 49 20 74 68 | 69 6e 6b 20 69 74 20 69 |nt. I th|ink it i|
|00000af0| 73 20 61 20 67 72 65 61 | 74 20 70 72 6f 64 75 63 |s a grea|t produc|
|00000b00| 74 20 61 6e 64 20 61 6e | 20 69 6d 70 6f 72 74 61 |t and an| importa|
|00000b10| 6e 74 20 74 65 63 68 6e | 6f 6c 6f 67 79 2e 20 49 |nt techn|ology. I|
|00000b20| 20 6a 75 73 74 00 00 00 | 01 ea 00 09 00 4a c2 64 | just...|.....J.d|
|00000b30| 6f 6e ff d5 74 20 62 65 | 6c 69 65 76 65 20 69 74 |on..t be|lieve it|
|00000b40| 20 69 73 20 77 65 6c 6c | 2d 73 75 69 74 65 64 20 | is well|-suited |
|00000b50| 74 6f 20 74 68 65 20 73 | 70 65 63 69 66 69 63 20 |to the s|pecific |
|00000b60| 74 61 73 6b 20 6f 66 20 | 43 47 49 20 64 65 76 65 |task of |CGI deve|
|00000b70| 6c 6f 70 6d 65 6e 74 2e | 00 00 02 00 00 b7 00 0c |lopment.|........|
|00000b80| c3 50 65 72 66 6f 72 6d | 61 6e 63 65 00 00 02 16 |.Perform|ance....|
|00000b90| 00 09 00 4d c2 50 65 72 | 66 6f 72 6d 61 6e 63 65 |...M.Per|formance|
|00000ba0| 20 69 73 20 63 72 75 63 | 69 61 6c 20 74 6f 20 43 | is cruc|ial to C|
|00000bb0| 47 49 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |GI appli|cations |
|00000bc0| 72 75 6e 6e 69 6e 67 20 | 6f 6e 20 62 75 73 79 20 |running |on busy |
|00000bd0| 73 65 72 76 65 72 73 2e | 20 54 68 65 20 6d 6f 72 |servers.| The mor|
|00000be0| 65 00 00 00 02 22 00 09 | 00 55 c2 70 72 6f 63 65 |e...."..|.U.proce|
|00000bf0| 73 73 69 6e 67 20 74 69 | 6d 65 20 61 20 72 65 71 |ssing ti|me a req|
|00000c00| 75 65 73 74 20 74 61 6b | 65 73 2c 20 74 68 65 20 |uest tak|es, the |
|00000c10| 6d 6f 72 65 20 6c 69 6b | 65 6c 79 20 61 20 75 73 |more lik|ely a us|
|00000c20| 65 72 20 69 73 20 74 6f | 20 67 69 76 65 20 75 70 |er is to| give up|
|00000c30| 20 61 6e 64 20 6d 6f 76 | 65 20 6f 6e 20 74 6f 00 | and mov|e on to.|
|00000c40| 00 00 02 2e 00 09 00 0e | c2 61 6e 6f 74 68 65 72 |........|.another|
|00000c50| 20 73 69 74 65 2e 00 00 | 02 3f 00 24 00 52 c2 49 | site...|.?.$.R.I|
|00000c60| ff d5 76 65 20 6f 66 74 | 65 6e 20 62 65 65 6e 20 |..ve oft|en been |
|00000c70| 61 73 6b 65 64 20 69 66 | 20 46 72 6f 6e 74 69 65 |asked if| Frontie|
|00000c80| 72 20 69 73 20 66 61 73 | 74 65 72 20 74 68 61 6e |r is fas|ter than|
|00000c90| 20 41 70 70 6c 65 53 63 | 72 69 70 74 2e 20 54 68 | AppleSc|ript. Th|
|00000ca0| 65 20 74 72 75 74 68 20 | 69 73 2c 20 77 68 65 6e |e truth |is, when|
|00000cb0| 00 00 02 4b 00 09 00 54 | c2 63 6f 6d 70 61 72 69 |...K...T|.compari|
|00000cc0| 6e 67 20 62 75 69 6c 74 | 2d 69 6e 20 76 65 72 62 |ng built|-in verb|
|00000cd0| 73 20 69 6e 20 41 70 70 | 6c 65 53 63 72 69 70 74 |s in App|leScript|
|00000ce0| 20 61 6e 64 20 74 68 65 | 20 6e 6f 6e 2d 6e 61 74 | and the| non-nat|
|00000cf0| 69 76 65 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 46 |ive vers|ion of F|
|00000d00| 72 6f 6e 74 69 65 72 2c | 20 74 68 65 00 00 02 57 |rontier,| the...W|
|00000d10| 00 09 00 54 c2 70 65 72 | 66 6f 72 6d 61 6e 63 65 |...T.per|formance|
|00000d20| 20 69 73 20 73 75 72 70 | 72 69 73 69 6e 67 20 73 | is surp|rising s|
|00000d30| 69 6d 69 6c 61 72 2e 20 | 20 49 20 72 61 6e 20 61 |imilar. | I ran a|
|00000d40| 20 73 65 72 69 65 73 20 | 6f 66 20 69 6e 66 6f 72 | series |of infor|
|00000d50| 6d 61 6c 20 74 65 73 74 | 73 20 74 6f 20 63 6f 6d |mal test|s to com|
|00000d60| 70 61 72 65 20 74 68 65 | 00 00 02 63 00 09 00 51 |pare the|...c...Q|
|00000d70| c2 70 65 72 66 6f 72 6d | 61 6e 63 65 20 6f 66 20 |.perform|ance of |
|00000d80| 41 70 70 6c 65 53 63 72 | 69 70 74 2c 20 6e 6f 6e |AppleScr|ipt, non|
|00000d90| 2d 6e 61 74 69 76 65 20 | 46 72 6f 6e 74 69 65 72 |-native |Frontier|
|00000da0| 20 61 6e 64 20 6e 61 74 | 69 76 65 20 46 72 6f 6e | and nat|ive Fron|
|00000db0| 74 69 65 72 20 77 68 65 | 6e 20 72 75 6e 6e 69 6e |tier whe|n runnin|
|00000dc0| 67 00 00 00 02 6f 00 09 | 00 59 c2 65 71 75 69 76 |g....o..|.Y.equiv|
|00000dd0| 61 6c 65 6e 74 20 73 63 | 72 69 70 74 73 2e 20 20 |alent sc|ripts. |
|00000de0| 54 68 65 20 73 63 72 69 | 70 74 73 20 61 72 65 20 |The scri|pts are |
|00000df0| 62 61 73 65 64 20 6f 6e | 20 74 68 65 20 73 61 6d |based on| the sam|
|00000e00| 70 6c 65 20 73 63 72 69 | 70 74 73 20 66 72 6f 6d |ple scri|pts from|
|00000e10| 20 46 72 6f 6e 74 69 65 | 72 ff d5 73 20 6f 62 6a | Frontie|r..s obj|
|00000e20| 65 63 74 00 00 00 02 7b | 00 09 00 4b c2 64 61 74 |ect....{|...K.dat|
|00000e30| 61 62 61 73 65 2e 20 20 | 41 6c 6c 20 74 65 73 74 |abase. |All test|
|00000e40| 73 20 77 65 72 65 20 72 | 75 6e 20 6f 6e 20 61 20 |s were r|un on a |
|00000e50| 50 6f 77 65 72 20 4d 61 | 63 69 6e 74 6f 73 68 20 |Power Ma|cintosh |
|00000e60| 37 32 30 30 2f 37 35 20 | 77 69 74 68 20 31 36 20 |7200/75 |with 16 |
|00000e70| 4d 42 20 52 41 4d 2e 00 | 00 00 02 87 00 09 00 3c |MB RAM..|.......<|
|00000e80| c2 45 78 65 63 75 74 69 | 6f 6e 20 74 69 6d 65 20 |.Executi|on time |
|00000e90| 69 73 20 6d 65 61 73 75 | 72 65 64 20 69 6e 20 74 |is measu|red in t|
|00000ea0| 69 63 6b 73 20 28 73 69 | 78 74 69 65 74 68 73 20 |icks (si|xtieths |
|00000eb0| 6f 66 20 73 65 63 6f 6e | 64 73 29 2e 00 00 02 98 |of secon|ds).....|
|00000ec0| 00 24 00 48 c2 54 68 65 | 20 66 69 72 73 74 20 74 |.$.H.The| first t|
|00000ed0| 65 73 74 20 73 63 72 69 | 70 74 20 70 65 72 66 6f |est scri|pt perfo|
|00000ee0| 72 6d 73 20 73 69 6d 70 | 6c 65 20 69 6e 74 65 67 |rms simp|le integ|
|00000ef0| 65 72 20 61 72 69 74 68 | 6d 65 74 69 63 20 75 73 |er arith|metic us|
|00000f00| 69 6e 67 20 62 75 69 6c | 74 2d 69 6e 00 00 02 a4 |ing buil|t-in....|
|00000f10| 00 09 00 50 c2 63 6f 6d | 6d 61 6e 64 73 20 69 6e |...P.com|mands in|
|00000f20| 20 62 6f 74 68 20 74 68 | 65 20 41 70 70 6c 65 53 | both th|e AppleS|
|00000f30| 63 72 69 70 74 20 61 6e | 64 20 55 73 65 72 54 61 |cript an|d UserTa|
|00000f40| 6c 6b 20 76 65 72 73 69 | 6f 6e 73 2e 20 20 54 68 |lk versi|ons. Th|
|00000f50| 65 20 61 63 74 75 61 6c | 20 73 63 72 69 70 74 73 |e actual| scripts|
|00000f60| 20 61 72 65 00 00 02 b0 | 00 09 00 18 c2 66 75 6e | are....|.....fun|
|00000f70| 63 74 69 6f 6e 61 6c 6c | 79 20 69 64 65 6e 74 69 |ctionall|y identi|
|00000f80| 63 61 6c 2e 00 00 02 cc | 00 ff 00 2a 84 c7 54 65 |cal.....|...*..Te|
|00000f90| 73 74 20 31 3a 20 49 6e | 74 65 67 65 72 20 41 72 |st 1: In|teger Ar|
|00000fa0| 69 74 68 6d 65 74 69 63 | 20 28 41 70 70 6c 65 53 |ithmetic| (AppleS|
|00000fb0| 63 72 69 70 74 29 00 00 | 02 d7 00 12 00 0b c6 73 |cript)..|.......s|
|00000fc0| 65 74 20 78 20 74 6f 20 | 30 00 00 00 02 e2 00 12 |et x to |0.......|
|00000fd0| 00 1d c6 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |...repea|t with i|
|00000fe0| 20 66 72 6f 6d 20 31 20 | 74 6f 20 31 30 30 30 00 | from 1 |to 1000.|
|00000ff0| 00 00 02 ed 00 1b 00 21 | c6 73 65 74 20 78 20 74 |.......!|.set x t|
|00001000| 6f 20 78 20 2b 20 28 31 | 32 20 2b 20 39 39 20 2d |o x + (1|2 + 99 -|
|00001010| 20 33 37 20 2f 20 38 34 | 29 00 00 00 02 f8 00 12 | 37 / 84|).......|
|00001020| 00 04 c6 65 6e 64 00 00 | 03 14 00 ff 00 27 92 c7 |...end..|.....'..|
|00001030| 54 65 73 74 20 31 3a 20 | 49 6e 74 65 67 65 72 20 |Test 1: |Integer |
|00001040| 41 72 69 74 68 6d 65 74 | 69 63 20 28 55 73 65 72 |Arithmet|ic (User|
|00001050| 54 61 6c 6b 29 00 00 00 | 03 1f 00 12 00 06 c6 78 |Talk)...|.......x|
|00001060| 20 3d 20 30 00 00 03 2a | 00 12 00 12 c6 66 6f 72 | = 0...*|.....for|
|00001070| 20 69 20 3d 20 31 20 74 | 6f 20 31 30 30 30 00 00 | i = 1 t|o 1000..|
|00001080| 03 35 00 1b 00 1c c6 78 | 20 3d 20 78 20 2b 20 28 |.5.....x| = x + (|
|00001090| 31 32 20 2b 20 39 39 20 | 2d 20 33 37 20 2f 20 38 |12 + 99 |- 37 / 8|
|000010a0| 34 29 00 00 03 51 00 24 | 00 4c c2 41 70 70 6c 65 |4)...Q.$|.L.Apple|
|000010b0| 53 63 72 69 70 74 20 74 | 6f 6f 6b 20 31 31 31 20 |Script t|ook 111 |
|000010c0| 74 69 63 6b 73 20 74 6f | 20 63 6f 6d 70 6c 65 74 |ticks to| complet|
|000010d0| 65 20 74 68 65 20 66 69 | 72 73 74 20 74 65 73 74 |e the fi|rst test|
|000010e0| 2c 20 77 68 69 6c 65 20 | 74 68 65 20 6e 6f 6e 2d |, while |the non-|
|000010f0| 6e 61 74 69 76 65 00 00 | 03 5d 00 09 00 55 c2 46 |native..|.]...U.F|
|00001100| 72 6f 6e 74 69 65 72 20 | 74 6f 6f 6b 20 31 30 33 |rontier |took 103|
|00001110| 20 74 69 63 6b 73 2e 20 | 54 68 65 20 20 50 6f 77 | ticks. |The Pow|
|00001120| 65 72 50 43 2d 6e 61 74 | 69 76 65 20 46 72 6f 6e |erPC-nat|ive Fron|
|00001130| 74 69 65 72 20 72 61 6e | 20 74 68 65 20 73 61 6d |tier ran| the sam|
|00001140| 65 20 73 63 72 69 70 74 | 20 69 6e 20 6a 75 73 74 |e script| in just|
|00001150| 20 31 37 00 00 00 03 69 | 00 09 00 57 c2 74 69 63 | 17....i|...W.tic|
|00001160| 6b 73 2e 20 20 54 68 69 | 73 20 66 69 72 73 74 20 |ks. Thi|s first |
|00001170| 74 65 73 74 20 72 65 61 | 6c 6c 79 20 73 68 6f 77 |test rea|lly show|
|00001180| 73 20 68 6f 77 20 63 6c | 6f 73 65 20 74 68 65 20 |s how cl|ose the |
|00001190| 6e 6f 6e 2d 6e 61 74 69 | 76 65 20 46 72 6f 6e 74 |non-nati|ve Front|
|000011a0| 69 65 72 20 61 6e 64 20 | 41 70 70 6c 65 53 63 72 |ier and |AppleScr|
|000011b0| 69 70 74 00 00 00 03 75 | 00 09 00 3f c2 77 65 72 |ipt....u|...?.wer|
|000011c0| 65 20 2d 20 61 6e 64 20 | 74 68 65 20 74 72 65 6d |e - and |the trem|
|000011d0| 65 6e 64 6f 75 73 20 64 | 69 66 66 65 72 65 6e 63 |endous d|ifferenc|
|000011e0| 65 20 74 68 65 20 6e 61 | 74 69 76 65 20 76 65 72 |e the na|tive ver|
|000011f0| 73 69 6f 6e 20 6d 61 6b | 65 73 2e 00 00 00 03 86 |sion mak|es......|
|00001200| 00 24 00 4a c2 54 68 65 | 20 73 65 63 6f 6e 64 20 |.$.J.The| second |
|00001210| 74 65 73 74 20 64 65 6d | 6f 6e 73 74 72 61 74 65 |test dem|onstrate|
|00001220| 73 20 74 68 65 20 72 65 | 70 65 61 74 65 64 20 63 |s the re|peated c|
|00001230| 61 6c 6c 69 6e 67 20 6f | 66 20 61 20 6c 6f 63 61 |alling o|f a loca|
|00001240| 6c 20 73 75 62 72 6f 75 | 74 69 6e 65 2e 20 00 00 |l subrou|tine. ..|
|00001250| 03 ad 00 ff 00 27 8e c7 | 54 65 73 74 20 32 3a 20 |.....'..|Test 2: |
|00001260| 53 75 62 72 6f 75 74 69 | 6e 65 20 43 61 6c 6c 20 |Subrouti|ne Call |
|00001270| 28 41 70 70 6c 65 53 63 | 72 69 70 74 29 00 00 00 |(AppleSc|ript)...|
|00001280| 03 b8 00 12 00 0c c6 73 | 65 74 20 79 20 74 6f 20 |.......s|et y to |
|00001290| 31 30 00 00 03 c3 00 12 | 00 0c c6 6f 6e 20 6d 6f |10......|...on mo|
|000012a0| 6f 66 20 28 78 29 00 00 | 03 ce 00 1b 00 0f c6 72 |of (x)..|.......r|
|000012b0| 65 74 75 72 6e 20 28 78 | 20 2a 20 32 29 00 00 00 |eturn (x| * 2)...|
|000012c0| 03 d9 00 12 00 04 c6 65 | 6e 64 00 00 03 e4 00 12 |.......e|nd......|
|000012d0| 00 1d c6 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |...repea|t with i|
|000012e0| 20 66 72 6f 6d 20 31 20 | 74 6f 20 31 30 30 30 00 | from 1 |to 1000.|
|000012f0| 00 00 03 ef 00 1b 00 12 | c6 73 65 74 20 79 20 74 |........|.set y t|
|00001300| 6f 20 6d 6f 6f 66 20 28 | 79 29 00 00 03 fa 00 12 |o moof (|y)......|
|00001310| 00 04 c6 65 6e 64 00 00 | 04 16 00 ff 00 24 9c c7 |...end..|.....$..|
|00001320| 54 65 73 74 20 32 3a 20 | 53 75 62 72 6f 75 74 69 |Test 2: |Subrouti|
|00001330| 6e 65 20 43 61 6c 6c 20 | 28 55 73 65 72 54 61 6c |ne Call |(UserTal|
|00001340| 6b 29 00 00 04 21 00 12 | 00 07 c6 79 20 3d 20 31 |k)...!..|...y = 1|
|00001350| 30 00 00 00 04 2c 00 12 | 00 0c c6 6f 6e 20 6d 6f |0....,..|...on mo|
|00001360| 6f 66 20 28 78 29 00 00 | 04 37 00 1b 00 0f c6 72 |of (x)..|.7.....r|
|00001370| 65 74 75 72 6e 20 28 78 | 20 2a 20 32 29 00 00 00 |eturn (x| * 2)...|
|00001380| 04 42 00 12 00 12 c6 66 | 6f 72 20 69 20 3d 20 31 |.B.....f|or i = 1|
|00001390| 20 74 6f 20 31 30 30 30 | 00 00 04 4d 00 1b 00 0d | to 1000|...M....|
|000013a0| c6 79 20 3d 20 6d 6f 6f | 66 20 28 79 29 00 00 00 |.y = moo|f (y)...|
|000013b0| 04 69 00 24 00 50 c2 41 | 70 70 6c 65 53 63 72 69 |.i.$.P.A|ppleScri|
|000013c0| 70 74 20 62 6c 65 77 20 | 74 68 65 20 64 6f 6f 72 |pt blew |the door|
|000013d0| 73 20 6f 66 20 74 68 65 | 20 6e 6f 6e 2d 6e 61 74 |s of the| non-nat|
|000013e0| 69 76 65 20 46 72 6f 6e | 74 69 65 72 20 69 6e 20 |ive Fron|tier in |
|000013f0| 74 68 65 20 73 65 63 6f | 6e 64 20 74 65 73 74 20 |the seco|nd test |
|00001400| 63 6f 6d 69 6e 67 00 00 | 04 75 00 09 00 56 c2 69 |coming..|.u...V.i|
|00001410| 6e 20 61 74 20 38 35 20 | 74 69 63 6b 73 20 74 6f |n at 85 |ticks to|
|00001420| 20 46 72 6f 6e 74 69 65 | 72 ff d5 73 20 32 37 32 | Frontie|r..s 272|
|00001430| 20 74 69 63 6b 73 2e 20 | 48 6f 77 65 76 65 72 2c | ticks. |However,|
|00001440| 20 74 68 65 20 50 6f 77 | 65 72 50 43 2d 6e 61 74 | the Pow|erPC-nat|
|00001450| 69 76 65 20 46 72 6f 6e | 74 69 65 72 20 68 61 6e |ive Fron|tier han|
|00001460| 64 69 6c 79 00 00 04 81 | 00 09 00 1d c2 77 6f 6e |dily....|.....won|
|00001470| 20 77 69 74 68 20 61 20 | 74 69 6d 65 20 6f 66 20 | with a |time of |
|00001480| 34 37 20 74 69 63 6b 73 | 2e 00 00 00 04 92 00 24 |47 ticks|.......$|
|00001490| 00 47 c2 54 68 65 20 74 | 68 69 72 64 20 73 63 72 |.G.The t|hird scr|
|000014a0| 69 70 74 20 63 6f 6d 70 | 61 72 65 73 20 74 68 65 |ipt comp|ares the|
|000014b0| 20 70 65 72 66 6f 72 6d | 61 6e 63 65 20 6f 66 20 | perform|ance of |
|000014c0| 63 6f 6d 6d 61 6e 64 73 | 20 66 72 6f 6d 20 61 6e |commands| from an|
|000014d0| 20 65 78 74 65 72 6e 61 | 6c 00 00 00 04 9e 00 09 | externa|l.......|
|000014e0| 00 55 c2 53 63 72 69 70 | 74 69 6e 67 20 41 64 64 |.U.Scrip|ting Add|
|000014f0| 69 74 69 6f 6e 20 74 6f | 20 61 20 62 75 69 6c 74 |ition to| a built|
|00001500| 2d 69 6e 20 46 72 6f 6e | 74 69 65 72 20 76 65 72 |-in Fron|tier ver|
|00001510| 62 2e 20 20 49 20 63 6f | 6d 70 61 72 65 64 20 74 |b. I co|mpared t|
|00001520| 68 65 20 73 70 65 65 64 | 20 6f 66 20 46 72 6f 6e |he speed| of Fron|
|00001530| 74 69 65 72 ff d5 73 00 | 00 00 04 aa 00 09 00 4b |tier..s.|.......K|
|00001540| c2 62 75 69 6c 74 2d 69 | 6e 20 63 6c 6f 63 6b 2e |.built-i|n clock.|
|00001550| 6e 6f 77 20 76 65 72 62 | 20 74 6f 20 74 68 65 20 |now verb| to the |
|00001560| 65 71 75 69 76 61 6c 65 | 6e 74 20 63 75 72 72 65 |equivale|nt curre|
|00001570| 6e 74 20 64 61 74 65 20 | 53 63 72 69 70 74 69 6e |nt date |Scriptin|
|00001580| 67 20 41 64 64 69 74 69 | 6f 6e 2e 00 00 00 04 c6 |g Additi|on......|
|00001590| 00 ca 00 38 c7 54 65 73 | 74 20 33 3a 20 42 75 69 |...8.Tes|t 3: Bui|
|000015a0| 6c 74 2d 69 6e 20 76 65 | 72 62 20 76 73 2e 20 53 |lt-in ve|rb vs. S|
|000015b0| 63 72 69 70 74 69 6e 67 | 20 41 64 64 69 74 69 6f |cripting| Additio|
|000015c0| 6e 20 28 55 73 65 72 54 | 61 6c 6b 29 00 00 04 d1 |n (UserT|alk)....|
|000015d0| 00 12 00 11 c6 66 6f 72 | 20 69 20 3d 20 31 20 74 |.....for| i = 1 t|
|000015e0| 6f 20 31 30 30 00 00 00 | 04 dc 00 1b 00 11 c6 79 |o 100...|.......y|
|000015f0| 20 3d 20 63 6c 6f 63 6b | 2e 6e 6f 77 20 28 29 00 | = clock|.now ().|
|00001600| 00 00 05 03 00 bc 00 3b | c7 54 65 73 74 20 33 3a |.......;|.Test 3:|
|00001610| 20 42 75 69 6c 74 2d 69 | 6e 20 76 65 72 62 20 76 | Built-i|n verb v|
|00001620| 73 2e 20 53 63 72 69 70 | 74 69 6e 67 20 41 64 64 |s. Scrip|ting Add|
|00001630| 69 74 69 6f 6e 20 28 41 | 70 70 6c 65 53 63 72 69 |ition (A|ppleScri|
|00001640| 70 74 29 00 00 00 05 19 | 00 12 00 1c c6 72 65 70 |pt).....|.....rep|
|00001650| 65 61 74 20 77 69 74 68 | 20 69 20 66 72 6f 6d 20 |eat with| i from |
|00001660| 31 20 74 6f 20 31 30 30 | 00 00 05 24 00 1b 00 16 |1 to 100|...$....|
|00001670| c6 73 65 74 20 79 20 74 | 6f 20 63 75 72 72 65 6e |.set y t|o curren|
|00001680| 74 20 64 61 74 65 00 00 | 05 2f 00 12 00 0b c6 65 |t date..|./.....e|
|00001690| 6e 64 20 72 65 70 65 61 | 74 00 00 00 05 4b 00 24 |nd repea|t....K.$|
|000016a0| 00 4b c2 20 49 74 20 74 | 6f 6f 6b 20 41 70 70 6c |.K. It t|ook Appl|
|000016b0| 65 53 63 72 69 70 74 20 | 31 31 33 20 74 69 63 6b |eScript |113 tick|
|000016c0| 73 20 74 6f 20 63 6f 6d | 70 6c 65 74 65 20 74 68 |s to com|plete th|
|000016d0| 69 73 20 74 65 73 74 2c | 20 77 68 69 6c 65 20 74 |is test,| while t|
|000016e0| 68 65 20 6e 6f 6e 2d 6e | 61 74 69 76 65 00 00 00 |he non-n|ative...|
|000016f0| 05 57 00 09 00 58 c2 46 | 72 6f 6e 74 69 65 72 20 |.W...X.F|rontier |
|00001700| 74 6f 6f 6b 20 31 37 20 | 74 69 63 6b 73 20 61 6e |took 17 |ticks an|
|00001710| 64 20 74 68 65 20 6e 61 | 74 69 76 65 20 46 72 6f |d the na|tive Fro|
|00001720| 6e 74 69 65 72 20 74 6f | 6f 6b 20 35 20 74 69 63 |ntier to|ok 5 tic|
|00001730| 6b 73 2e 20 54 68 69 73 | 20 69 6c 6c 75 73 74 72 |ks. This| illustr|
|00001740| 61 74 65 73 20 61 20 63 | 72 75 63 69 61 6c 00 00 |ates a c|rucial..|
|00001750| 05 63 00 09 00 4f c2 70 | 6f 69 6e 74 20 69 6e 20 |.c...O.p|oint in |
|00001760| 64 65 74 65 72 6d 69 6e | 69 6e 67 20 74 68 65 20 |determin|ing the |
|00001770| 73 70 65 65 64 20 6f 66 | 20 61 20 73 63 72 69 70 |speed of| a scrip|
|00001780| 74 2e 20 20 42 75 69 6c | 74 2d 69 6e 20 63 6f 6d |t. Buil|t-in com|
|00001790| 6d 61 6e 64 73 20 61 72 | 65 20 66 61 73 74 65 72 |mands ar|e faster|
|000017a0| 20 74 68 61 6e 00 00 00 | 05 6f 00 09 00 54 c2 63 | than...|.o...T.c|
|000017b0| 6f 6d 6d 61 6e 64 73 20 | 6c 6f 61 64 65 64 20 66 |ommands |loaded f|
|000017c0| 72 6f 6d 20 65 78 74 65 | 72 6e 61 6c 20 63 6f 64 |rom exte|rnal cod|
|000017d0| 65 20 66 72 61 67 6d 65 | 6e 74 73 2e 20 20 42 65 |e fragme|nts. Be|
|000017e0| 63 61 75 73 65 20 41 70 | 70 6c 65 53 63 72 69 70 |cause Ap|pleScrip|
|000017f0| 74 20 68 61 73 20 66 65 | 77 20 62 75 69 6c 74 2d |t has fe|w built-|
|00001800| 69 6e 00 00 05 7b 00 09 | 00 53 c2 76 65 72 62 73 |in...{..|.S.verbs|
|00001810| 20 61 6e 64 20 72 65 6c | 69 65 73 20 68 65 61 76 | and rel|ies heav|
|00001820| 69 6c 79 20 6f 6e 20 53 | 63 72 69 70 74 69 6e 67 |ily on S|cripting|
|00001830| 20 41 64 64 69 74 69 6f | 6e 73 20 74 6f 20 65 78 | Additio|ns to ex|
|00001840| 74 65 6e 64 20 74 68 65 | 20 6c 61 6e 67 75 61 67 |tend the| languag|
|00001850| 65 2c 20 74 68 65 20 75 | 73 65 20 6f 66 00 00 00 |e, the u|se of...|
|00001860| 05 87 00 09 00 39 c2 65 | 78 74 65 72 6e 61 6c 20 |.....9.e|xternal |
|00001870| 63 6f 6d 6d 61 6e 64 73 | 20 6c 69 6b 65 20 ff d2 |commands| like ..|
|00001880| 63 75 72 72 65 6e 74 20 | 64 61 74 65 ff d3 20 69 |current |date.. i|
|00001890| 73 20 71 75 69 74 65 20 | 63 6f 6d 6d 6f 6e 2e 00 |s quite |common..|
|000018a0| 00 00 05 98 00 24 00 52 | c2 49 6e 20 74 68 65 20 |.....$.R|.In the |
|000018b0| 66 6f 75 72 74 68 20 65 | 78 61 6d 70 6c 65 20 74 |fourth e|xample t|
|000018c0| 68 65 20 73 63 72 69 70 | 74 20 63 68 65 63 6b 73 |he scrip|t checks|
|000018d0| 20 74 68 65 20 65 78 69 | 73 74 65 6e 63 65 20 6f | the exi|stence o|
|000018e0| 66 20 61 20 66 69 6c 65 | 2e 20 20 46 72 6f 6e 74 |f a file|. Front|
|000018f0| 69 65 72 20 75 73 65 73 | 20 61 00 00 05 a4 00 09 |ier uses| a......|
|00001900| 00 52 c2 62 75 69 6c 74 | 2d 69 6e 20 76 65 72 62 |.R.built|-in verb|
|00001910| 20 ff d2 66 69 6c 65 2e | 65 78 69 73 74 73 ff d3 | ..file.|exists..|
|00001920| 2c 20 77 68 69 6c 65 20 | 41 70 70 6c 65 53 63 72 |, while |AppleScr|
|00001930| 69 70 74 20 63 6f 6d 6d | 75 6e 69 63 61 74 65 73 |ipt comm|unicates|
|00001940| 20 77 69 74 68 20 74 68 | 65 20 73 63 72 69 70 74 | with th|e script|
|00001950| 61 62 6c 65 00 00 05 b0 | 00 09 00 18 c2 46 69 6e |able....|.....Fin|
|00001960| 64 65 72 20 76 69 61 20 | 41 70 70 6c 65 45 76 65 |der via |AppleEve|
|00001970| 6e 74 73 2e 00 00 05 d7 | 00 d4 00 34 c7 54 65 73 |nts.....|...4.Tes|
|00001980| 74 20 34 3a 20 42 75 69 | 6c 74 2d 69 6e 20 76 65 |t 4: Bui|lt-in ve|
|00001990| 72 62 20 76 73 2e 20 41 | 70 70 6c 65 20 45 76 65 |rb vs. A|pple Eve|
|000019a0| 6e 74 20 28 41 70 70 6c | 65 53 63 72 69 70 74 29 |nt (Appl|eScript)|
|000019b0| 00 00 05 e2 00 12 00 0b | c6 73 65 74 20 78 20 74 |........|.set x t|
|000019c0| 6f 20 30 00 00 00 05 ed | 00 12 00 1a c6 74 65 6c |o 0.....|.....tel|
|000019d0| 6c 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 22 46 |l applic|ation "F|
|000019e0| 69 6e 64 65 72 22 00 00 | 05 f8 00 1b 00 1b c6 72 |inder"..|.......r|
|000019f0| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 66 72 6f |epeat wi|th i fro|
|00001a00| 6d 20 31 20 74 6f 20 31 | 30 00 00 00 06 03 00 28 |m 1 to 1|0......(|
|00001a10| 00 2f c6 69 66 20 65 78 | 69 73 74 73 20 61 6c 69 |./.if ex|ists ali|
|00001a20| 61 73 20 22 4d 61 63 69 | 6e 74 6f 73 68 20 48 44 |as "Maci|ntosh HD|
|00001a30| 3a 53 69 6d 70 6c 65 54 | 65 78 74 22 20 74 68 65 |:SimpleT|ext" the|
|00001a40| 6e 00 00 00 06 0e 00 36 | 00 0f c6 73 65 74 20 78 |n......6|...set x|
|00001a50| 20 74 6f 20 78 20 2b 20 | 31 00 00 00 06 19 00 28 | to x + |1......(|
|00001a60| 00 07 c6 65 6e 64 20 69 | 66 00 00 00 06 24 00 1b |...end i|f....$..|
|00001a70| 00 0b c6 65 6e 64 20 72 | 65 70 65 61 74 00 00 00 |...end r|epeat...|
|00001a80| 06 2f 00 12 00 09 c6 65 | 6e 64 20 74 65 6c 6c 00 |./.....e|nd tell.|
|00001a90| 00 00 06 4b 00 e2 00 31 | c7 54 65 73 74 20 34 3a |...K...1|.Test 4:|
|00001aa0| 20 42 75 69 6c 74 2d 69 | 6e 20 76 65 72 62 20 76 | Built-i|n verb v|
|00001ab0| 73 2e 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 28 |s. Apple| Event (|
|00001ac0| 55 73 65 72 54 61 6c 6b | 29 00 00 00 06 56 00 12 |UserTalk|)....V..|
|00001ad0| 00 0e c6 6c 6f 63 61 6c | 20 28 78 20 3d 20 30 29 |...local| (x = 0)|
|00001ae0| 00 00 06 61 00 12 00 10 | c6 66 6f 72 20 69 20 3d |...a....|.for i =|
|00001af0| 20 31 20 74 6f 20 31 30 | 00 00 06 6c 00 1b 00 2b | 1 to 10|...l...+|
|00001b00| c6 69 66 20 66 69 6c 65 | 2e 65 78 69 73 74 73 20 |.if file|.exists |
|00001b10| 28 22 4d 61 63 69 6e 74 | 6f 73 68 20 48 44 3a 53 |("Macint|osh HD:S|
|00001b20| 69 6d 70 6c 65 54 65 78 | 74 22 29 00 00 00 06 77 |impleTex|t")....w|
|00001b30| 00 36 00 04 c6 78 2b 2b | 00 00 06 93 00 24 00 43 |.6...x++|.....$.C|
|00001b40| c2 49 6e 74 65 72 2d 61 | 70 70 6c 69 63 61 74 69 |.Inter-a|pplicati|
|00001b50| 6f 6e 20 63 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |on commu|nication|
|00001b60| 20 63 61 6e 20 72 65 61 | 6c 6c 79 20 73 6c 6f 77 | can rea|lly slow|
|00001b70| 20 74 68 69 6e 67 73 20 | 64 6f 77 6e 2e 20 20 45 | things |down. E|
|00001b80| 61 63 68 00 00 00 06 9f | 00 09 00 56 c2 63 72 6f |ach.....|...V.cro|
|00001b90| 73 73 2d 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 41 |ss-appli|cation A|
|00001ba0| 70 70 6c 65 20 45 76 65 | 6e 74 20 61 64 64 73 20 |pple Eve|nt adds |
|00001bb0| 61 70 70 72 6f 78 69 6d | 61 74 65 6c 79 20 31 2f |approxim|ately 1/|
|00001bc0| 34 20 73 65 63 6f 6e 64 | 20 74 6f 20 74 68 65 20 |4 second| to the |
|00001bd0| 70 72 6f 63 65 73 73 69 | 6e 67 20 74 69 6d 65 20 |processi|ng time |
|00001be0| 6f 66 00 00 06 ab 00 09 | 00 54 c2 74 68 65 20 73 |of......|.T.the s|
|00001bf0| 63 72 69 70 74 2e 20 20 | 46 72 6f 6e 74 69 65 72 |cript. |Frontier|
|00001c00| 20 73 75 66 66 65 72 73 | 20 74 68 65 20 73 61 6d | suffers| the sam|
|00001c10| 65 20 73 6c 6f 77 64 6f | 77 6e 73 20 77 68 65 6e |e slowdo|wns when|
|00001c20| 20 73 65 6e 64 69 6e 67 | 20 41 70 70 6c 65 20 45 | sending| Apple E|
|00001c30| 76 65 6e 74 73 20 74 6f | 20 6f 74 68 65 72 00 00 |vents to| other..|
|00001c40| 06 b7 00 09 00 51 c2 61 | 70 70 6c 69 63 61 74 69 |.....Q.a|pplicati|
|00001c50| 6f 6e 73 2c 20 62 75 74 | 20 62 65 63 61 75 73 65 |ons, but| because|
|00001c60| 20 6d 6f 72 65 20 63 6f | 6d 6d 61 6e 64 73 20 61 | more co|mmands a|
|00001c70| 72 65 20 61 76 61 69 6c | 61 62 6c 65 2c 20 65 78 |re avail|able, ex|
|00001c80| 74 65 72 6e 61 6c 20 61 | 70 70 6c 69 63 61 74 69 |ternal a|pplicati|
|00001c90| 6f 6e 73 20 61 72 65 00 | 00 00 06 c3 00 09 00 16 |ons are.|........|
|00001ca0| c2 72 65 6c 69 65 64 20 | 6f 6e 20 6c 65 73 73 20 |.relied |on less |
|00001cb0| 6f 66 74 65 6e 2e 00 00 | 06 d4 00 24 00 4e c2 54 |often...|...$.N.T|
|00001cc0| 68 65 20 72 65 73 75 6c | 74 73 20 6f 66 20 74 68 |he resul|ts of th|
|00001cd0| 65 20 66 6f 75 72 74 68 | 20 74 65 73 74 20 62 65 |e fourth| test be|
|00001ce0| 61 72 20 74 68 69 73 20 | 6f 75 74 2e 20 57 68 69 |ar this |out. Whi|
|00001cf0| 6c 65 20 74 68 65 20 6e | 61 74 69 76 65 20 61 6e |le the n|ative an|
|00001d00| 64 20 6e 6f 6e 2d 6e 61 | 74 69 76 65 00 00 06 e0 |d non-na|tive....|
|00001d10| 00 09 00 55 c2 46 72 6f | 6e 74 69 65 72 20 61 70 |...U.Fro|ntier ap|
|00001d20| 70 6c 69 63 61 74 69 6f | 6e 73 20 66 69 6e 69 73 |plicatio|ns finis|
|00001d30| 68 65 64 20 69 6e 20 33 | 20 74 69 63 6b 73 20 61 |hed in 3| ticks a|
|00001d40| 6e 64 20 37 20 74 69 63 | 6b 73 20 72 65 73 70 65 |nd 7 tic|ks respe|
|00001d50| 63 74 69 76 65 6c 79 2c | 20 41 70 70 6c 65 53 63 |ctively,| AppleSc|
|00001d60| 72 69 70 74 20 74 6f 6f | 6b 00 00 00 06 ec 00 09 |ript too|k.......|
|00001d70| 00 40 c2 31 34 30 20 74 | 69 63 6b 73 20 74 6f 20 |.@.140 t|icks to |
|00001d80| 70 65 72 66 6f 72 6d 20 | 74 68 65 20 73 61 6d 65 |perform |the same|
|00001d90| 20 74 61 73 6b 20 75 73 | 69 6e 67 20 74 68 65 20 | task us|ing the |
|00001da0| 73 63 72 69 70 74 61 62 | 6c 65 20 46 69 6e 64 65 |scriptab|le Finde|
|00001db0| 72 2e 00 00 06 fd 00 24 | 00 53 c2 4d 79 20 66 69 |r......$|.S.My fi|
|00001dc0| 6e 61 6c 20 74 65 73 74 | 20 77 61 73 20 ff d2 72 |nal test| was ..r|
|00001dd0| 65 61 6c 20 77 6f 72 6c | 64 ff d3 20 65 78 61 6d |eal worl|d.. exam|
|00001de0| 70 6c 65 2c 20 62 61 73 | 65 64 20 6f 6e 20 74 68 |ple, bas|ed on th|
|00001df0| 65 20 ff d2 74 65 73 74 | 2e 63 67 69 ff d3 20 73 |e ..test|.cgi.. s|
|00001e00| 63 72 69 70 74 20 74 68 | 61 74 20 69 73 00 00 00 |cript th|at is...|
|00001e10| 07 09 00 09 00 58 c2 64 | 69 73 74 72 69 62 75 74 |.....X.d|istribut|
|00001e20| 65 64 20 77 69 74 68 20 | 4d 61 63 48 54 54 50 2e |ed with |MacHTTP.|
|00001e30| 20 20 54 68 69 73 20 73 | 63 72 69 70 74 20 75 73 | This s|cript us|
|00001e40| 65 73 20 6e 6f 20 73 63 | 72 69 70 74 69 6e 67 20 |es no sc|ripting |
|00001e50| 61 64 64 69 74 69 6f 6e | 73 20 61 6e 64 20 64 6f |addition|s and do|
|00001e60| 65 73 6e ff d5 74 20 70 | 65 72 66 6f 72 6d 00 00 |esn..t p|erform..|
|00001e70| 07 15 00 09 00 54 c2 61 | 6e 79 20 63 72 6f 73 73 |.....T.a|ny cross|
|00001e80| 2d 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 63 6f 6d |-applica|tion com|
|00001e90| 6d 75 6e 69 63 61 74 69 | 6f 6e 2e 20 53 6f 20 69 |municati|on. So i|
|00001ea0| 74 20 69 73 20 61 20 70 | 72 65 74 74 79 20 67 6f |t is a p|retty go|
|00001eb0| 6f 64 20 65 78 61 6d 70 | 6c 65 20 6f 66 20 61 20 |od examp|le of a |
|00001ec0| 63 6f 6d 6d 6f 6e 20 43 | 47 49 00 00 07 21 00 09 |common C|GI...!..|
|00001ed0| 00 1e c2 73 63 72 69 70 | 74 20 75 73 69 6e 67 20 |...scrip|t using |
|00001ee0| 62 75 69 6c 74 2d 69 6e | 20 76 65 72 62 73 2e 20 |built-in| verbs. |
|00001ef0| 00 00 07 3d 00 ff 00 20 | ad c7 54 65 73 74 20 35 |...=... |..Test 5|
|00001f00| 3a 20 54 65 73 74 20 43 | 47 49 20 28 41 70 70 6c |: Test C|GI (Appl|
|00001f10| 65 53 63 72 69 70 74 29 | 00 00 07 53 00 12 00 3c |eScript)|...S...<|
|00001f20| c6 70 72 6f 70 65 72 74 | 79 20 63 72 6c 66 20 3a |.propert|y crlf :|
|00001f30| 20 28 41 53 43 49 49 20 | 63 68 61 72 61 63 74 65 | (ASCII |characte|
|00001f40| 72 20 31 33 29 20 26 20 | 28 41 53 43 49 49 20 63 |r 13) & |(ASCII c|
|00001f50| 68 61 72 61 63 74 65 72 | 20 31 30 29 00 00 07 68 |haracter| 10)...h|
|00001f60| 00 12 00 38 c8 2d 2d 74 | 68 69 73 20 62 75 69 6c |...8.--t|his buil|
|00001f70| 64 73 20 74 68 65 20 6e | 6f 72 6d 61 6c 20 48 54 |ds the n|ormal HT|
|00001f80| 54 50 20 68 65 61 64 65 | 72 20 66 6f 72 20 72 65 |TP heade|r for re|
|00001f90| 67 75 6c 61 72 20 61 63 | 63 65 73 73 00 00 07 73 |gular ac|cess...s|
|00001fa0| 00 12 00 38 c6 70 72 6f | 70 65 72 74 79 20 68 74 |...8.pro|perty ht|
|00001fb0| 74 70 5f 31 30 5f 68 65 | 61 64 65 72 20 3a 20 22 |tp_10_he|ader : "|
|00001fc0| 48 54 54 50 2f 31 2e 30 | 20 32 30 30 20 4f 4b 22 |HTTP/1.0| 200 OK"|
|00001fd0| 20 26 20 63 72 6c 66 20 | 26 20 ff c2 00 00 07 7e | & crlf |& .....~|
|00001fe0| 00 1b 00 34 c6 22 53 65 | 72 76 65 72 3a 20 4d 61 |...4."Se|rver: Ma|
|00001ff0| 63 48 54 54 50 22 20 26 | 20 63 72 6c 66 20 26 20 |cHTTP" &| crlf & |
|00002000| 22 4d 49 4d 45 2d 56 65 | 72 73 69 6f 6e 3a 20 31 |"MIME-Ve|rsion: 1|
|00002010| 2e 30 22 20 26 20 ff c2 | 00 00 07 89 00 1b 00 2f |.0" & ..|......./|
|00002020| c6 63 72 6c 66 20 26 20 | 22 43 6f 6e 74 65 6e 74 |.crlf & |"Content|
|00002030| 2d 74 79 70 65 3a 20 74 | 65 78 74 2f 68 74 6d 6c |-type: t|ext/html|
|00002040| 22 20 26 20 63 72 6c 66 | 20 26 20 63 72 6c 66 00 |" & crlf| & crlf.|
|00002050| 00 00 07 9f 00 12 00 38 | c6 6f 6e 20 63 67 69 53 |.......8|.on cgiS|
|00002060| 63 72 69 70 74 20 28 70 | 61 74 68 5f 61 72 67 73 |cript (p|ath_args|
|00002070| 2c 20 68 74 74 70 5f 73 | 65 61 72 63 68 5f 61 72 |, http_s|earch_ar|
|00002080| 67 73 2c 20 75 73 65 72 | 6e 61 6d 65 2c 20 ff c2 |gs, user|name, ..|
|00002090| 00 00 07 aa 00 1b 00 35 | c6 70 61 73 73 77 6f 72 |.......5|.passwor|
|000020a0| 64 2c 20 66 72 6f 6d 5f | 75 73 65 72 2c 20 63 6c |d, from_|user, cl|
|000020b0| 69 65 6e 74 5f 61 64 64 | 72 65 73 73 2c 20 73 65 |ient_add|ress, se|
|000020c0| 72 76 65 72 5f 6e 61 6d | 65 2c 20 ff c2 00 00 00 |rver_nam|e, .....|
|000020d0| 07 b5 00 1b 00 34 c6 73 | 65 72 76 65 72 5f 70 6f |.....4.s|erver_po|
|000020e0| 72 74 2c 20 73 63 72 69 | 70 74 5f 6e 61 6d 65 2c |rt, scri|pt_name,|
|000020f0| 20 63 6f 6e 74 65 6e 74 | 5f 74 79 70 65 2c 20 72 | content|_type, r|
|00002100| 65 66 65 72 65 72 2c 20 | ff c2 00 00 07 c0 00 1b |eferer, |........|
|00002110| 00 37 c6 75 73 65 72 5f | 61 67 65 6e 74 2c 20 61 |.7.user_|agent, a|
|00002120| 63 74 69 6f 6e 2c 20 61 | 63 74 69 6f 6e 5f 70 61 |ction, a|ction_pa|
|00002130| 74 68 2c 20 70 6f 73 74 | 5f 61 72 67 73 2c 20 6d |th, post|_args, m|
|00002140| 65 74 68 6f 64 2c 20 ff | c2 00 00 00 07 cb 00 1b |ethod, .|........|
|00002150| 00 19 c6 63 6c 69 65 6e | 74 5f 69 70 2c 20 66 75 |...clien|t_ip, fu|
|00002160| 6c 6c 5f 72 65 71 75 65 | 73 74 29 00 00 00 07 e1 |ll_reque|st).....|
|00002170| 00 1b 00 30 c6 74 72 79 | 20 2d 2d 77 72 61 70 20 |...0.try| --wrap |
|00002180| 74 68 65 20 77 68 6f 6c | 65 20 73 63 72 69 70 74 |the whol|e script|
|00002190| 20 69 6e 20 61 6e 20 65 | 72 72 6f 72 20 68 61 6e | in an e|rror han|
|000021a0| 64 6c 65 72 00 00 07 ec | 00 28 00 37 c6 72 65 74 |dler....|.(.7.ret|
|000021b0| 75 72 6e 20 68 74 74 70 | 5f 31 30 5f 68 65 61 64 |urn http|_10_head|
|000021c0| 65 72 20 26 20 22 3c 74 | 69 74 6c 65 3e 54 65 73 |er & "<t|itle>Tes|
|000021d0| 74 20 43 47 49 3c 2f 74 | 69 74 6c 65 3e 22 20 26 |t CGI</t|itle>" &|
|000021e0| 20 ff c2 00 00 00 07 f7 | 00 36 00 33 c6 22 3c 68 | .......|.6.3."<h|
|000021f0| 32 3e 54 65 73 74 20 43 | 47 49 3c 2f 68 32 3e 3c |2>Test C|GI</h2><|
|00002200| 75 3e 43 47 49 20 61 72 | 67 75 6d 65 6e 74 73 20 |u>CGI ar|guments |
|00002210| 73 65 6e 74 3a 3c 2f 75 | 3e 22 20 26 20 ff c2 00 |sent:</u|>" & ...|
|00002220| 00 00 08 02 00 36 00 25 | c6 22 3c 62 72 3e 3c 62 |.....6.%|."<br><b|
|00002230| 3e 70 61 74 68 3a 3c 2f | 62 3e 20 22 20 26 20 70 |>path:</|b> " & p|
|00002240| 61 74 68 5f 61 72 67 73 | 20 26 20 ff c2 00 00 00 |ath_args| & .....|
|00002250| 08 0d 00 36 00 2e c6 22 | 3c 62 72 3e 3c 62 3e 73 |...6..."|<br><b>s|
|00002260| 65 61 72 63 68 3a 3c 2f | 62 3e 20 22 20 26 20 68 |earch:</|b> " & h|
|00002270| 74 74 70 5f 73 65 61 72 | 63 68 5f 61 72 67 73 20 |ttp_sear|ch_args |
|00002280| 26 20 ff c2 00 00 08 18 | 00 36 00 2a c6 22 3c 62 |& ......|.6.*."<b|
|00002290| 72 3e 3c 62 3e 70 6f 73 | 74 5f 61 72 67 73 3a 3c |r><b>pos|t_args:<|
|000022a0| 2f 62 3e 20 22 20 26 20 | 70 6f 73 74 5f 61 72 67 |/b> " & |post_arg|
|000022b0| 73 20 26 20 ff c2 00 00 | 08 23 00 36 00 24 c6 22 |s & ....|.#.6.$."|
|000022c0| 3c 62 72 3e 3c 62 3e 6d | 65 74 68 6f 64 3a 3c 2f |<br><b>m|ethod:</|
|000022d0| 62 3e 20 22 20 26 20 6d | 65 74 68 6f 64 20 26 20 |b> " & m|ethod & |
|000022e0| ff c2 00 00 08 2e 00 36 | 00 2d c6 22 3c 62 72 3e |.......6|.-."<br>|
|000022f0| 3c 62 3e 61 64 64 72 65 | 73 73 3a 3c 2f 62 3e 20 |<b>addre|ss:</b> |
|00002300| 22 20 26 20 63 6c 69 65 | 6e 74 5f 61 64 64 72 65 |" & clie|nt_addre|
|00002310| 73 73 20 26 20 ff c2 00 | 00 00 08 39 00 36 00 24 |ss & ...|...9.6.$|
|00002320| c6 22 3c 62 72 3e 3c 62 | 3e 75 73 65 72 3a 3c 2f |."<br><b|>user:</|
|00002330| 62 3e 20 22 20 26 20 75 | 73 65 72 6e 61 6d 65 20 |b> " & u|sername |
|00002340| 26 20 ff c2 00 00 08 44 | 00 36 00 28 c6 22 3c 62 |& .....D|.6.(."<b|
|00002350| 72 3e 3c 62 3e 70 61 73 | 73 77 6f 72 64 3a 3c 2f |r><b>pas|sword:</|
|00002360| 62 3e 20 22 20 26 20 70 | 61 73 73 77 6f 72 64 20 |b> " & p|assword |
|00002370| 26 20 ff c2 00 00 08 4f | 00 36 00 25 c6 22 3c 62 |& .....O|.6.%."<b|
|00002380| 72 3e 3c 62 3e 66 72 6f | 6d 3a 3c 2f 62 3e 20 22 |r><b>fro|m:</b> "|
|00002390| 20 26 20 66 72 6f 6d 5f | 75 73 65 72 20 26 20 ff | & from_|user & .|
|000023a0| c2 00 00 00 08 5a 00 36 | 00 2e c6 22 3c 62 72 3e |.....Z.6|..."<br>|
|000023b0| 3c 62 3e 73 65 72 76 65 | 72 5f 6e 61 6d 65 3a 3c |<b>serve|r_name:<|
|000023c0| 2f 62 3e 20 22 20 26 20 | 73 65 72 76 65 72 5f 6e |/b> " & |server_n|
|000023d0| 61 6d 65 20 26 20 ff c2 | 00 00 08 65 00 36 00 2e |ame & ..|...e.6..|
|000023e0| c6 22 3c 62 72 3e 3c 62 | 3e 73 65 72 76 65 72 5f |."<br><b|>server_|
|000023f0| 70 6f 72 74 3a 3c 2f 62 | 3e 20 22 20 26 20 73 65 |port:</b|> " & se|
|00002400| 72 76 65 72 5f 70 6f 72 | 74 20 26 20 ff c2 00 00 |rver_por|t & ....|
|00002410| 08 70 00 36 00 2e c6 22 | 3c 62 72 3e 3c 62 3e 73 |.p.6..."|<br><b>s|
|00002420| 63 72 69 70 74 5f 6e 61 | 6d 65 3a 3c 2f 62 3e 20 |cript_na|me:</b> |
|00002430| 22 20 26 20 73 63 72 69 | 70 74 5f 6e 61 6d 65 20 |" & scri|pt_name |
|00002440| 26 20 ff c2 00 00 08 7b | 00 36 00 26 c6 22 3c 62 |& .....{|.6.&."<b|
|00002450| 72 3e 3c 62 3e 72 65 66 | 65 72 65 72 3a 3c 2f 62 |r><b>ref|erer:</b|
|00002460| 3e 20 22 20 26 20 72 65 | 66 65 72 65 72 20 26 20 |> " & re|ferer & |
|00002470| ff c2 00 00 08 86 00 36 | 00 2c c6 22 3c 62 72 3e |.......6|.,."<br>|
|00002480| 3c 62 3e 75 73 65 72 20 | 61 67 65 6e 74 3a 3c 2f |<b>user |agent:</|
|00002490| 62 3e 20 22 20 26 20 75 | 73 65 72 5f 61 67 65 6e |b> " & u|ser_agen|
|000024a0| 74 20 26 20 ff c2 00 00 | 08 91 00 36 00 32 c6 22 |t & ....|...6.2."|
|000024b0| 3c 62 72 3e 3c 62 3e 63 | 6f 6e 74 65 6e 74 5f 74 |<br><b>c|ontent_t|
|000024c0| 79 70 65 3a 3c 2f 62 3e | 20 22 20 26 20 63 6f 6e |ype:</b>| " & con|
|000024d0| 74 65 6e 74 5f 74 79 70 | 65 20 26 20 63 72 6c 66 |tent_typ|e & crlf|
|000024e0| 00 00 08 9c 00 1b 00 18 | c6 6f 6e 20 65 72 72 6f |........|.on erro|
|000024f0| 72 20 6d 73 67 20 6e 75 | 6d 62 65 72 20 6e 75 6d |r msg nu|mber num|
|00002500| 00 00 08 a7 00 28 00 34 | c6 72 65 74 75 72 6e 20 |.....(.4|.return |
|00002510| 68 74 74 70 5f 31 30 5f | 68 65 61 64 65 72 20 26 |http_10_|header &|
|00002520| 20 22 45 72 72 6f 72 20 | 22 20 26 20 6e 75 6d 20 | "Error |" & num |
|00002530| 26 20 22 2c 20 22 20 26 | 20 6d 73 67 00 00 08 b2 |& ", " &| msg....|
|00002540| 00 1b 00 08 c6 65 6e 64 | 20 74 72 79 00 00 08 bd |.....end| try....|
|00002550| 00 12 00 0b c6 65 6e 64 | 20 63 61 6c 6c 65 72 00 |.....end| caller.|
|00002560| 00 00 08 d3 00 12 00 1b | c6 72 65 70 65 61 74 20 |........|.repeat |
|00002570| 77 69 74 68 20 69 20 66 | 72 6f 6d 20 31 20 74 6f |with i f|rom 1 to|
|00002580| 20 31 30 00 00 00 08 de | 00 12 00 31 c6 63 67 69 | 10.....|...1.cgi|
|00002590| 53 63 72 69 70 74 20 28 | 22 61 61 61 22 2c 20 22 |Script (|"aaa", "|
|000025a0| 62 62 62 22 2c 20 22 63 | 63 63 22 2c 20 22 64 64 |bbb", "c|cc", "dd|
|000025b0| 64 22 2c 20 22 65 65 65 | 22 2c 20 ff c2 00 00 00 |d", "eee|", .....|
|000025c0| 08 e9 00 1b 00 2d c6 22 | 66 66 66 22 2c 20 22 67 |.....-."|fff", "g|
|000025d0| 67 67 22 2c 20 22 68 68 | 68 22 2c 20 22 69 69 69 |gg", "hh|h", "iii|
|000025e0| 22 2c 20 22 6a 6a 6a 22 | 2c 20 22 6b 6b 6b 22 2c |", "jjj"|, "kkk",|
|000025f0| 20 ff c2 00 00 00 08 f4 | 00 1b 00 31 c6 22 6c 6c | .......|...1."ll|
|00002600| 6c 22 2c 20 22 6d 6d 6d | 22 2c 20 22 6e 6e 6e 22 |l", "mmm|", "nnn"|
|00002610| 2c 20 22 6f 6f 6f 22 2c | 20 22 70 70 70 22 2c 20 |, "ooo",| "ppp", |
|00002620| 22 71 71 71 22 2c 20 22 | 72 72 72 22 29 00 00 00 |"qqq", "|rrr")...|
|00002630| 08 ff 00 12 00 0b c6 65 | 6e 64 20 72 65 70 65 61 |.......e|nd repea|
|00002640| 74 00 00 00 09 32 00 ff | 00 1d bb c7 54 65 73 74 |t....2..|....Test|
|00002650| 20 35 3a 20 54 65 73 74 | 20 43 47 49 20 28 55 73 | 5: Test| CGI (Us|
|00002660| 65 72 54 61 6c 6b 29 00 | 00 00 09 48 00 12 00 34 |erTalk).|...H...4|
|00002670| c6 6f 6e 20 63 67 69 53 | 63 72 69 70 74 20 28 70 |.on cgiS|cript (p|
|00002680| 61 74 68 41 72 67 73 2c | 20 68 74 74 70 53 65 61 |athArgs,| httpSea|
|00002690| 72 63 68 41 72 67 73 2c | 20 75 73 65 72 6e 61 6d |rchArgs,| usernam|
|000026a0| 65 2c 20 5c 00 00 09 53 | 00 1b 00 31 c6 70 61 73 |e, \...S|...1.pas|
|000026b0| 73 77 6f 72 64 2c 20 66 | 72 6f 6d 55 73 65 72 2c |sword, f|romUser,|
|000026c0| 20 63 6c 69 65 6e 74 41 | 64 64 72 65 73 73 2c 20 | clientA|ddress, |
|000026d0| 73 65 72 76 65 72 4e 61 | 6d 65 2c 20 5c 00 00 00 |serverNa|me, \...|
|000026e0| 09 5e 00 1b 00 30 c6 73 | 65 72 76 65 72 50 6f 72 |.^...0.s|erverPor|
|000026f0| 74 2c 20 73 63 72 69 70 | 74 4e 61 6d 65 2c 20 63 |t, scrip|tName, c|
|00002700| 6f 6e 74 65 6e 74 54 79 | 70 65 2c 20 72 65 66 65 |ontentTy|pe, refe|
|00002710| 72 65 72 2c 20 5c 00 00 | 09 69 00 1b 00 33 c6 75 |rer, \..|.i...3.u|
|00002720| 73 65 72 41 67 65 6e 74 | 2c 20 61 63 74 69 6f 6e |serAgent|, action|
|00002730| 2c 20 61 63 74 69 6f 6e | 50 61 74 68 2c 20 70 6f |, action|Path, po|
|00002740| 73 74 41 72 67 73 2c 20 | 6d 65 74 68 6f 64 2c 20 |stArgs, |method, |
|00002750| 5c 00 00 00 09 74 00 1b | 00 17 c6 63 6c 69 65 6e |\....t..|...clien|
|00002760| 74 49 70 2c 20 66 75 6c | 6c 52 65 71 75 65 73 74 |tIp, ful|lRequest|
|00002770| 29 00 00 00 09 8a 00 1b | 00 04 c6 74 72 79 00 00 |).......|...try..|
|00002780| 09 95 00 28 00 24 c6 72 | 65 74 75 72 6e 20 28 77 |...(.$.r|eturn (w|
|00002790| 65 62 53 65 72 76 65 72 | 2e 68 74 74 70 48 65 61 |ebServer|.httpHea|
|000027a0| 64 65 72 20 28 29 20 2b | 20 5c 00 00 09 a0 00 36 |der () +| \.....6|
|000027b0| 00 2f c6 22 3c 74 69 74 | 6c 65 3e 54 65 73 74 20 |./."<tit|le>Test |
|000027c0| 43 47 49 3c 2f 74 69 74 | 6c 65 3e 3c 68 32 3e 54 |CGI</tit|le><h2>T|
|000027d0| 65 73 74 20 43 47 49 3c | 2f 68 32 3e 22 20 2b 20 |est CGI<|/h2>" + |
|000027e0| 5c 00 00 00 09 ab 00 36 | 00 21 c6 22 3c 75 3e 43 |\......6|.!."<u>C|
|000027f0| 47 49 20 61 72 67 75 6d | 65 6e 74 73 20 73 65 6e |GI argum|ents sen|
|00002800| 74 3a 3c 2f 75 3e 22 20 | 2b 20 5c 00 00 00 09 b6 |t:</u>" |+ \.....|
|00002810| 00 36 00 23 c6 22 3c 62 | 72 3e 3c 62 3e 70 61 74 |.6.#."<b|r><b>pat|
|00002820| 68 3a 3c 2f 62 3e 20 22 | 20 2b 20 70 61 74 68 41 |h:</b> "| + pathA|
|00002830| 72 67 73 20 2b 20 5c 00 | 00 00 09 c1 00 36 00 2b |rgs + \.|.....6.+|
|00002840| c6 22 3c 62 72 3e 3c 62 | 3e 73 65 61 72 63 68 3a |."<br><b|>search:|
|00002850| 3c 2f 62 3e 20 22 20 2b | 20 68 74 74 70 53 65 61 |</b> " +| httpSea|
|00002860| 72 63 68 41 72 67 73 20 | 2b 20 5c 00 00 00 09 cc |rchArgs |+ \.....|
|00002870| 00 36 00 28 c6 22 3c 62 | 72 3e 3c 62 3e 70 6f 73 |.6.(."<b|r><b>pos|
|00002880| 74 5f 61 72 67 73 3a 3c | 2f 62 3e 20 22 20 2b 20 |t_args:<|/b> " + |
|00002890| 70 6f 73 74 41 72 67 73 | 20 2b 20 5c 00 00 09 d7 |postArgs| + \....|
|000028a0| 00 36 00 23 c6 22 3c 62 | 72 3e 3c 62 3e 6d 65 74 |.6.#."<b|r><b>met|
|000028b0| 68 6f 64 3a 3c 2f 62 3e | 20 22 20 2b 20 6d 65 74 |hod:</b>| " + met|
|000028c0| 68 6f 64 20 2b 20 5c 00 | 00 00 09 e2 00 36 00 2b |hod + \.|.....6.+|
|000028d0| c6 22 3c 62 72 3e 3c 62 | 3e 61 64 64 72 65 73 73 |."<br><b|>address|
|000028e0| 3a 3c 2f 62 3e 20 22 20 | 2b 20 63 6c 69 65 6e 74 |:</b> " |+ client|
|000028f0| 41 64 64 72 65 73 73 20 | 2b 20 5c 00 00 00 09 ed |Address |+ \.....|
|00002900| 00 36 00 23 c6 22 3c 62 | 72 3e 3c 62 3e 75 73 65 |.6.#."<b|r><b>use|
|00002910| 72 3a 3c 2f 62 3e 20 22 | 20 2b 20 75 73 65 72 6e |r:</b> "| + usern|
|00002920| 61 6d 65 20 2b 20 5c 00 | 00 00 09 f8 00 36 00 27 |ame + \.|.....6.'|
|00002930| c6 22 3c 62 72 3e 3c 62 | 3e 70 61 73 73 77 6f 72 |."<br><b|>passwor|
|00002940| 64 3a 3c 2f 62 3e 20 22 | 20 2b 20 70 61 73 73 77 |d:</b> "| + passw|
|00002950| 6f 72 64 20 2b 20 5c 00 | 00 00 0a 03 00 36 00 23 |ord + \.|.....6.#|
|00002960| c6 22 3c 62 72 3e 3c 62 | 3e 66 72 6f 6d 3a 3c 2f |."<br><b|>from:</|
|00002970| 62 3e 20 22 20 2b 20 66 | 72 6f 6d 55 73 65 72 20 |b> " + f|romUser |
|00002980| 2b 20 5c 00 00 00 0a 0e | 00 36 00 2c c6 22 3c 62 |+ \.....|.6.,."<b|
|00002990| 72 3e 3c 62 3e 73 65 72 | 76 65 72 5f 6e 61 6d 65 |r><b>ser|ver_name|
|000029a0| 3a 3c 2f 62 3e 20 22 20 | 2b 20 73 65 72 76 65 72 |:</b> " |+ server|
|000029b0| 4e 61 6d 65 20 2b 20 5c | 00 00 0a 19 00 36 00 2c |Name + \|.....6.,|
|000029c0| c6 22 3c 62 72 3e 3c 62 | 3e 73 65 72 76 65 72 5f |."<br><b|>server_|
|000029d0| 70 6f 72 74 3a 3c 2f 62 | 3e 20 22 20 2b 20 73 65 |port:</b|> " + se|
|000029e0| 72 76 65 72 50 6f 72 74 | 20 2b 20 5c 00 00 0a 24 |rverPort| + \...$|
|000029f0| 00 36 00 2c c6 22 3c 62 | 72 3e 3c 62 3e 73 63 72 |.6.,."<b|r><b>scr|
|00002a00| 69 70 74 5f 6e 61 6d 65 | 3a 3c 2f 62 3e 20 22 20 |ipt_name|:</b> " |
|00002a10| 2b 20 73 63 72 69 70 74 | 4e 61 6d 65 20 2b 20 5c |+ script|Name + \|
|00002a20| 00 00 0a 2f 00 36 00 25 | c6 22 3c 62 72 3e 3c 62 |.../.6.%|."<br><b|
|00002a30| 3e 72 65 66 65 72 65 72 | 3a 3c 2f 62 3e 20 22 20 |>referer|:</b> " |
|00002a40| 2b 20 72 65 66 65 72 65 | 72 20 2b 20 5c 00 00 00 |+ refere|r + \...|
|00002a50| 0a 3a 00 36 00 2a c6 22 | 3c 62 72 3e 3c 62 3e 75 |.:.6.*."|<br><b>u|
|00002a60| 73 65 72 20 61 67 65 6e | 74 3a 3c 2f 62 3e 20 22 |ser agen|t:</b> "|
|00002a70| 20 2b 20 75 73 65 72 41 | 67 65 6e 74 20 2b 20 5c | + userA|gent + \|
|00002a80| 00 00 0a 45 00 36 00 35 | c6 22 3c 62 72 3e 3c 62 |...E.6.5|."<br><b|
|00002a90| 3e 63 6f 6e 74 65 6e 74 | 5f 74 79 70 65 3a 3c 2f |>content|_type:</|
|00002aa0| 62 3e 20 22 20 2b 20 63 | 6f 6e 74 65 6e 74 54 79 |b> " + c|ontentTy|
|00002ab0| 70 65 20 2b 20 63 72 20 | 2b 20 6c 66 29 00 00 00 |pe + cr |+ lf)...|
|00002ac0| 0a 50 00 1b 00 05 c6 65 | 6c 73 65 00 00 00 0a 5b |.P.....e|lse....[|
|00002ad0| 00 28 00 37 c6 72 65 74 | 75 72 6e 20 28 77 65 62 |.(.7.ret|urn (web|
|00002ae0| 53 65 72 76 65 72 2e 68 | 74 74 70 48 65 61 64 65 |Server.h|ttpHeade|
|00002af0| 72 20 28 29 20 2b 20 22 | 45 72 72 6f 72 20 22 20 |r () + "|Error " |
|00002b00| 2b 20 74 72 79 45 72 72 | 6f 72 29 00 00 00 0a 71 |+ tryErr|or)....q|
|00002b10| 00 12 00 0a c6 6c 6f 63 | 61 6c 20 28 69 29 00 00 |.....loc|al (i)..|
|00002b20| 0a 7c 00 12 00 10 c6 66 | 6f 72 20 69 20 3d 20 31 |.|.....f|or i = 1|
|00002b30| 20 74 6f 20 31 30 00 00 | 0a 87 00 1b 00 3e c6 63 | to 10..|.....>.c|
|00002b40| 67 69 53 63 72 69 70 74 | 20 28 22 61 61 61 22 2c |giScript| ("aaa",|
|00002b50| 20 22 62 62 62 22 2c 20 | 22 63 63 63 22 2c 20 22 | "bbb", |"ccc", "|
|00002b60| 64 64 64 22 2c 20 22 65 | 65 65 22 2c 20 22 66 66 |ddd", "e|ee", "ff|
|00002b70| 66 22 2c 20 22 67 67 67 | 22 2c 20 5c 00 00 0a 92 |f", "ggg|", \....|
|00002b80| 00 28 00 3a c6 22 68 68 | 68 22 2c 20 22 69 69 69 |.(.:."hh|h", "iii|
|00002b90| 22 2c 20 22 6a 6a 6a 22 | 2c 20 22 6b 6b 6b 22 2c |", "jjj"|, "kkk",|
|00002ba0| 20 22 6c 6c 6c 22 2c 20 | 22 6d 6d 6d 22 2c 20 22 | "lll", |"mmm", "|
|00002bb0| 6e 6e 6e 22 2c 20 22 6f | 6f 6f 22 2c 20 5c 00 00 |nnn", "o|oo", \..|
|00002bc0| 0a 9d 00 28 00 15 c6 22 | 70 70 70 22 2c 20 22 71 |...(..."|ppp", "q|
|00002bd0| 71 71 22 2c 20 22 72 72 | 72 22 29 00 00 00 0a b9 |qq", "rr|r").....|
|00002be0| 00 24 00 4a c2 41 73 20 | 65 78 70 65 63 74 65 64 |.$.J.As |expected|
|00002bf0| 2c 20 74 68 65 20 41 70 | 70 6c 65 53 63 72 69 70 |, the Ap|pleScrip|
|00002c00| 74 20 61 6e 64 20 6e 6f | 6e 2d 6e 61 74 69 76 65 |t and no|n-native|
|00002c10| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 46 72 6f 6e | version| of Fron|
|00002c20| 74 69 65 72 20 70 65 72 | 66 6f 72 6d 65 64 00 00 |tier per|formed..|
|00002c30| 0a c5 00 09 00 56 c2 73 | 69 6d 69 6c 61 72 6c 79 |.....V.s|imilarly|
|00002c40| 2e 20 20 54 68 65 20 41 | 70 70 6c 65 53 63 72 69 |. The A|ppleScri|
|00002c50| 70 74 20 43 47 49 20 74 | 65 73 74 20 66 69 6e 69 |pt CGI t|est fini|
|00002c60| 73 68 65 64 20 69 6e 20 | 36 39 20 74 69 63 6b 73 |shed in |69 ticks|
|00002c70| 2c 20 62 65 61 74 69 6e | 67 20 6f 75 74 20 46 72 |, beatin|g out Fr|
|00002c80| 6f 6e 74 69 65 72 20 61 | 74 20 37 34 00 00 0a d1 |ontier a|t 74....|
|00002c90| 00 09 00 55 c2 74 69 63 | 6b 73 2e 20 20 4e 61 74 |...U.tic|ks. Nat|
|00002ca0| 69 76 65 20 46 72 6f 6e | 74 69 65 72 20 77 6f 6e |ive Fron|tier won|
|00002cb0| 20 61 67 61 69 6e 20 77 | 69 74 68 20 31 34 20 74 | again w|ith 14 t|
|00002cc0| 69 63 6b 73 2e 20 41 20 | 73 75 6d 6d 61 72 79 20 |icks. A |summary |
|00002cd0| 6f 66 20 74 68 65 20 74 | 69 6d 69 6e 67 20 72 65 |of the t|iming re|
|00002ce0| 73 75 6c 74 73 20 66 6f | 72 00 00 00 0a dd 00 09 |sults fo|r.......|
|00002cf0| 00 1f c2 61 6c 6c 20 74 | 65 73 74 73 20 69 73 20 |...all t|ests is |
|00002d00| 73 68 6f 77 6e 20 69 6e | 20 54 61 62 6c 65 20 31 |shown in| Table 1|
|00002d10| 2e 00 00 00 0a f9 00 90 | 00 26 c2 41 70 70 6c 65 |........|.&.Apple|
|00002d20| 53 63 72 69 70 74 8e 46 | 72 6f 6e 74 69 65 72 20 |Script.F|rontier |
|00002d30| 36 38 4b 86 46 72 6f 6e | 74 69 65 72 20 50 50 43 |68K.Fron|tier PPC|
|00002d40| 00 00 0b 0a 00 24 00 1e | c2 49 6e 74 65 67 65 72 |.....$..|.Integer|
|00002d50| 20 41 72 69 74 68 6d 65 | 74 69 63 91 31 31 31 b3 | Arithme|tic.111.|
|00002d60| 31 30 33 b3 31 37 00 00 | 0b 1b 00 24 00 1a c2 53 |103.17..|...$...S|
|00002d70| 75 62 72 6f 75 74 69 6e | 65 20 43 61 6c 6c a0 38 |ubroutin|e Call.8|
|00002d80| 35 ba 32 37 32 b3 34 35 | 00 00 0b 2c 00 24 00 1b |5.272.45|...,.$..|
|00002d90| c2 42 75 69 6c 74 2d 69 | 6e 20 76 73 2e 20 4f 53 |.Built-i|n vs. OS|
|00002da0| 41 58 96 31 31 33 b3 31 | 37 ba 35 00 00 00 0b 3d |AX.113.1|7.5....=|
|00002db0| 00 24 00 1a c2 42 75 69 | 6c 74 2d 69 6e 20 76 73 |.$...Bui|lt-in vs|
|00002dc0| 2e 20 41 45 a2 31 34 30 | b3 37 80 01 20 33 00 00 |. AE.140|.7.. 3..|
|00002dd0| 0b 4e 00 24 00 14 c2 54 | 65 73 74 20 43 47 49 80 |.N.$...T|est CGI.|
|00002de0| 00 90 36 39 ba 37 34 ba | 31 34 00 00 0b 5f 00 3a |..69.74.|14..._.:|
|00002df0| 00 42 c5 54 61 62 6c 65 | 20 31 2e 20 43 6f 6d 70 |.B.Table| 1. Comp|
|00002e00| 61 72 69 73 6f 6e 20 6f | 66 20 65 78 65 63 75 74 |arison o|f execut|
|00002e10| 69 6f 6e 20 74 69 6d 65 | 73 20 28 61 6c 6c 20 74 |ion time|s (all t|
|00002e20| 69 6d 65 73 20 69 6e 20 | 31 2f 36 30 20 73 65 63 |imes in |1/60 sec|
|00002e30| 6f 6e 64 29 00 00 0b 83 | 00 09 00 10 c3 4d 75 6c |ond)....|.....Mul|
|00002e40| 74 69 2d 74 68 72 65 61 | 64 69 6e 67 00 00 0b 99 |ti-threa|ding....|
|00002e50| 00 24 00 54 c2 42 65 79 | 6f 6e 64 20 73 74 72 61 |.$.T.Bey|ond stra|
|00002e60| 69 67 68 74 20 73 63 72 | 69 70 74 20 65 78 65 63 |ight scr|ipt exec|
|00002e70| 75 74 69 6f 6e 2c 20 61 | 6e 6f 74 68 65 72 20 66 |ution, a|nother f|
|00002e80| 61 63 74 6f 72 20 63 61 | 6e 20 73 69 67 6e 69 66 |actor ca|n signif|
|00002e90| 69 63 61 6e 74 6c 79 20 | 61 66 66 65 63 74 20 74 |icantly |affect t|
|00002ea0| 68 65 20 73 70 65 65 64 | 00 00 0b a5 00 09 00 56 |he speed|.......V|
|00002eb0| c2 61 74 20 77 68 69 63 | 68 20 61 20 67 69 76 65 |.at whic|h a give|
|00002ec0| 6e 20 73 63 72 69 70 74 | 20 72 75 6e 73 3a 20 6d |n script| runs: m|
|00002ed0| 75 6c 74 69 2d 74 68 72 | 65 61 64 69 6e 67 2e 20 |ulti-thr|eading. |
|00002ee0| 20 49 6e 20 74 68 65 20 | 65 78 70 6f 6e 65 6e 74 | In the |exponent|
|00002ef0| 69 61 6c 6c 79 2d 67 72 | 6f 77 69 6e 67 20 77 6f |ially-gr|owing wo|
|00002f00| 72 6c 64 20 6f 66 00 00 | 0b b1 00 09 00 58 c2 74 |rld of..|.....X.t|
|00002f10| 68 65 20 69 6e 74 65 72 | 6e 65 74 2c 20 69 74 20 |he inter|net, it |
|00002f20| 69 73 20 63 6f 6d 6d 6f | 6e 20 66 6f 72 20 74 68 |is commo|n for th|
|00002f30| 65 20 61 76 65 72 61 67 | 65 20 77 65 62 20 73 65 |e averag|e web se|
|00002f40| 72 76 65 72 20 74 6f 20 | 72 65 63 65 69 76 65 73 |rver to |receives|
|00002f50| 20 74 68 6f 75 73 61 6e | 64 73 20 6f 66 20 72 65 | thousan|ds of re|
|00002f60| 71 75 65 73 74 73 00 00 | 0b bd 00 09 00 59 c2 61 |quests..|.....Y.a|
|00002f70| 20 64 61 79 2e 20 20 49 | 74 20 69 73 20 61 6c 73 | day. I|t is als|
|00002f80| 6f 20 71 75 69 74 65 20 | 6c 69 6b 65 6c 79 20 74 |o quite |likely t|
|00002f90| 68 61 74 20 74 77 6f 20 | 63 6c 69 65 6e 74 73 20 |hat two |clients |
|00002fa0| 77 69 6c 6c 20 72 65 71 | 75 65 73 74 20 74 68 65 |will req|uest the|
|00002fb0| 20 65 78 61 63 74 20 73 | 61 6d 65 20 66 69 6c 65 | exact s|ame file|
|00002fc0| 20 61 74 20 74 68 65 00 | 00 00 0b c9 00 09 00 5b | at the.|.......[|
|00002fd0| c2 65 78 61 63 74 20 73 | 61 6d 65 20 74 69 6d 65 |.exact s|ame time|
|00002fe0| 2e 20 49 66 20 74 68 65 | 20 72 65 71 75 65 73 74 |. If the| request|
|00002ff0| 65 64 20 66 69 6c 65 20 | 68 61 70 70 65 6e 73 20 |ed file |happens |
|00003000| 74 6f 20 62 65 20 79 6f | 75 72 20 43 47 49 20 73 |to be yo|ur CGI s|
|00003010| 63 72 69 70 74 2c 20 69 | 74 20 77 69 6c 6c 20 68 |cript, i|t will h|
|00003020| 61 76 65 20 74 6f 20 64 | 65 61 6c 00 00 00 0b d5 |ave to d|eal.....|
|00003030| 00 09 00 1f c2 77 69 74 | 68 20 74 77 6f 20 63 6f |.....wit|h two co|
|00003040| 6e 63 75 72 72 65 6e 74 | 20 72 65 71 75 65 73 74 |ncurrent| request|
|00003050| 73 2e 20 00 00 00 0b e6 | 00 24 00 4f c2 41 70 70 |s. .....|.$.O.App|
|00003060| 6c 65 53 63 72 69 70 74 | 20 69 73 20 6e 6f 74 20 |leScript| is not |
|00003070| 6d 75 6c 74 69 2d 74 68 | 72 65 61 64 65 64 2c 20 |multi-th|readed, |
|00003080| 61 6e 64 20 68 61 6e 64 | 6c 65 73 20 6d 75 6c 74 |and hand|les mult|
|00003090| 69 70 6c 65 20 63 6f 6e | 63 75 72 72 65 6e 74 20 |iple con|current |
|000030a0| 72 65 71 75 65 73 74 73 | 20 62 79 00 00 00 0b f2 |requests| by.....|
|000030b0| 00 09 00 55 c2 70 6c 61 | 63 69 6e 67 20 74 68 65 |...U.pla|cing the|
|000030c0| 6d 20 69 6e 74 6f 20 61 | 20 71 75 65 75 65 2e 20 |m into a| queue. |
|000030d0| 20 55 6e 66 6f 72 74 75 | 6e 61 74 65 6c 79 2c 20 | Unfortu|nately, |
|000030e0| 41 70 70 6c 65 53 63 72 | 69 70 74 20 70 72 6f 63 |AppleScr|ipt proc|
|000030f0| 65 73 73 65 73 20 65 76 | 65 6e 74 73 20 6f 6e 20 |esses ev|ents on |
|00003100| 61 20 6c 61 73 74 2d 69 | 6e 00 00 00 0b fe 00 09 |a last-i|n.......|
|00003110| 00 57 c2 66 69 72 73 74 | 2d 6f 75 74 20 62 61 73 |.W.first|-out bas|
|00003120| 69 73 20 2d 20 73 6f 20 | 74 68 65 20 6c 61 74 65 |is - so |the late|
|00003130| 73 74 20 65 76 65 6e 74 | 20 72 65 63 65 69 76 65 |st event| receive|
|00003140| 64 20 69 73 20 74 68 65 | 20 66 69 72 73 74 20 74 |d is the| first t|
|00003150| 6f 20 62 65 20 70 72 6f | 63 65 73 73 65 64 2e 20 |o be pro|cessed. |
|00003160| 54 6f 20 70 75 74 20 69 | 74 00 00 00 0c 0a 00 09 |To put i|t.......|
|00003170| 00 56 c2 61 6e 6f 74 68 | 65 72 20 77 61 79 2c 20 |.V.anoth|er way, |
|00003180| 6f 6e 20 61 20 76 65 72 | 79 20 62 75 73 79 20 73 |on a ver|y busy s|
|00003190| 65 72 76 65 72 2c 20 74 | 68 65 20 66 69 72 73 74 |erver, t|he first|
|000031a0| 20 70 65 72 73 6f 6e 20 | 74 6f 20 63 61 6c 6c 20 | person |to call |
|000031b0| 74 68 65 20 43 47 49 20 | 6d 61 79 20 76 65 72 79 |the CGI |may very|
|000031c0| 20 77 65 6c 6c 20 62 65 | 00 00 0c 16 00 09 00 57 | well be|.......W|
|000031d0| c2 74 68 65 20 6c 61 73 | 74 20 70 65 72 73 6f 6e |.the las|t person|
|000031e0| 20 74 6f 20 72 65 63 65 | 69 76 65 20 74 68 65 20 | to rece|ive the |
|000031f0| 72 65 73 75 6c 74 73 2e | 20 54 68 69 73 20 63 61 |results.| This ca|
|00003200| 6e 20 72 65 73 75 6c 74 | 20 69 6e 20 65 76 65 72 |n result| in ever|
|00003210| 79 20 73 69 6e 67 6c 65 | 20 72 65 71 75 65 73 74 |y single| request|
|00003220| 20 74 69 6d 69 6e 67 00 | 00 00 0c 22 00 09 00 47 | timing.|..."...G|
|00003230| c2 6f 75 74 20 69 66 20 | 6e 65 77 20 72 65 71 75 |.out if |new requ|
|00003240| 65 73 74 73 20 6b 65 65 | 70 20 66 6f 72 63 69 6e |ests kee|p forcin|
|00003250| 67 20 6f 6c 64 65 72 20 | 6f 6e 65 73 20 66 75 72 |g older |ones fur|
|00003260| 74 68 65 72 20 62 61 63 | 6b 20 69 6e 20 74 68 65 |ther bac|k in the|
|00003270| 20 71 75 65 75 65 2e 00 | 00 00 0c 33 00 24 00 48 | queue..|...3.$.H|
|00003280| c2 46 72 6f 6e 74 69 65 | 72 20 69 73 20 66 75 6c |.Frontie|r is ful|
|00003290| 6c 79 20 6d 75 6c 74 69 | 2d 74 68 72 65 61 64 65 |ly multi|-threade|
|000032a0| 64 2e 20 45 76 65 72 79 | 20 6e 65 77 20 72 65 71 |d. Every| new req|
|000032b0| 75 65 73 74 20 73 70 61 | 77 6e 73 20 61 20 6e 65 |uest spa|wns a ne|
|000032c0| 77 20 74 68 72 65 61 64 | 00 00 0c 3f 00 09 00 53 |w thread|...?...S|
|000032d0| c2 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 2e 20 |.automat|ically. |
|000032e0| 54 68 69 73 20 6d 65 61 | 6e 73 20 74 68 61 74 20 |This mea|ns that |
|000032f0| 69 6e 63 6f 6d 69 6e 67 | 20 65 76 65 6e 74 20 61 |incoming| event a|
|00003300| 72 65 20 70 72 6f 63 65 | 73 73 65 64 20 69 6d 6d |re proce|ssed imm|
|00003310| 65 64 69 61 74 65 6c 79 | 20 61 6e 64 20 64 6f 20 |ediately| and do |
|00003320| 6e 6f 74 00 00 00 0c 4b | 00 09 00 28 c2 70 72 65 |not....K|...(.pre|
|00003330| 76 65 6e 74 20 70 72 6f | 63 65 73 73 69 6e 67 20 |vent pro|cessing |
|00003340| 6f 66 20 65 61 72 6c 69 | 65 72 20 72 65 71 75 65 |of earli|er reque|
|00003350| 73 74 73 2e 00 00 0c 5c | 00 24 00 52 c2 41 20 6d |sts....\|.$.R.A m|
|00003360| 6f 72 65 20 73 75 62 74 | 6c 65 2c 20 62 75 74 20 |ore subt|le, but |
|00003370| 73 74 69 6c 6c 20 69 6d | 70 6f 72 74 61 6e 74 20 |still im|portant |
|00003380| 70 65 72 66 6f 72 6d 61 | 6e 63 65 20 63 6f 6e 73 |performa|nce cons|
|00003390| 69 64 65 72 61 74 69 6f | 6e 20 69 73 20 74 68 65 |ideratio|n is the|
|000033a0| 20 66 61 63 74 20 74 68 | 61 74 20 61 6c 6c 00 00 | fact th|at all..|
|000033b0| 0c 68 00 09 00 4e c2 46 | 72 6f 6e 74 69 65 72 2d |.h...N.F|rontier-|
|000033c0| 62 61 73 65 64 20 43 47 | 49 ff d5 73 20 61 72 65 |based CG|I..s are|
|000033d0| 20 68 6f 73 74 65 64 20 | 62 79 20 61 20 73 69 6e | hosted |by a sin|
|000033e0| 67 6c 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2e |gle appl|ication.|
|000033f0| 20 20 49 6e 20 74 68 65 | 20 63 6f 6f 70 65 72 61 | In the| coopera|
|00003400| 74 69 76 65 00 00 0c 74 | 00 09 00 55 c2 6d 75 6c |tive...t|...U.mul|
|00003410| 74 69 2d 74 61 73 6b 69 | 6e 67 20 4d 61 63 20 4f |ti-taski|ng Mac O|
|00003420| 53 2c 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |S, appli|cations |
|00003430| 6d 75 73 74 20 63 6f 6f | 70 65 72 61 74 69 76 65 |must coo|perative|
|00003440| 6c 79 20 73 68 61 72 65 | 20 70 72 6f 63 65 73 73 |ly share| process|
|00003450| 69 6e 67 20 74 69 6d 65 | 2e 20 20 41 64 64 69 6e |ing time|. Addin|
|00003460| 67 00 00 00 0c 80 00 09 | 00 55 c2 61 20 6e 65 77 |g.......|.U.a new|
|00003470| 2c 20 73 65 70 61 72 61 | 74 65 20 61 70 70 6c 69 |, separa|te appli|
|00003480| 63 61 74 69 6f 6e 20 66 | 6f 72 20 65 61 63 68 20 |cation f|or each |
|00003490| 43 47 49 20 63 72 65 61 | 74 65 73 20 6d 6f 72 65 |CGI crea|tes more|
|000034a0| 20 6f 76 65 72 68 65 61 | 64 20 74 6f 20 6d 61 6e | overhea|d to man|
|000034b0| 61 67 65 20 74 68 65 20 | 73 68 61 72 69 6e 67 00 |age the |sharing.|
|000034c0| 00 00 0c 8c 00 09 00 55 | c2 6f 66 20 70 72 6f 63 |.......U|.of proc|
|000034d0| 65 73 73 6f 72 20 74 69 | 6d 65 20 61 6d 6f 6e 67 |essor ti|me among|
|000034e0| 20 74 68 65 20 63 6f 6d | 70 65 74 69 6e 67 20 61 | the com|peting a|
|000034f0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 61 6e 64 20 |pplicati|ons and |
|00003500| 65 76 65 6e 74 75 61 6c | 6c 79 20 73 6c 6f 77 73 |eventual|ly slows|
|00003510| 20 64 6f 77 6e 20 61 6c | 6c 20 74 68 65 00 00 00 | down al|l the...|
|00003520| 0c 98 00 09 00 59 c2 61 | 70 70 6c 69 63 61 74 69 |.....Y.a|pplicati|
|00003530| 6f 6e 73 2e 20 20 43 6f | 6e 73 6f 6c 69 64 61 74 |ons. Co|nsolidat|
|00003540| 69 6e 67 20 61 6c 6c 20 | 43 47 49 20 73 63 72 69 |ing all |CGI scri|
|00003550| 70 74 73 20 69 6e 74 6f | 20 46 72 6f 6e 74 69 65 |pts into| Frontie|
|00003560| 72 ff d5 73 20 6f 62 6a | 65 63 74 20 64 61 74 61 |r..s obj|ect data|
|00003570| 62 61 73 65 20 65 6c 69 | 6d 69 6e 61 74 65 73 00 |base eli|minates.|
|00003580| 00 00 0c a4 00 09 00 0f | c2 74 68 69 73 20 6f 76 |........|.this ov|
|00003590| 65 72 68 65 61 64 2e 00 | 00 00 0c ba 00 bd 00 0b |erhead..|........|
|000035a0| c3 43 6f 6e 63 6c 75 73 | 69 6f 6e 00 00 00 0c d0 |.Conclus|ion.....|
|000035b0| 00 09 00 4f c2 42 65 69 | 6e 67 20 50 6f 77 65 72 |...O.Bei|ng Power|
|000035c0| 50 43 2d 6e 61 74 69 76 | 65 20 61 6e 64 20 6d 75 |PC-nativ|e and mu|
|000035d0| 6c 74 69 2d 74 68 72 65 | 61 64 65 64 20 63 6c 65 |lti-thre|aded cle|
|000035e0| 61 72 6c 79 20 67 69 76 | 65 73 20 46 72 6f 6e 74 |arly giv|es Front|
|000035f0| 69 65 72 20 74 68 65 20 | 70 65 72 66 6f 72 6d 61 |ier the |performa|
|00003600| 6e 63 65 00 00 00 0c dc | 00 09 00 52 c2 61 64 76 |nce.....|...R.adv|
|00003610| 61 6e 74 61 67 65 20 6f | 76 65 72 20 41 70 70 6c |antage o|ver Appl|
|00003620| 65 53 63 72 69 70 74 2e | 20 20 48 6f 77 65 76 65 |eScript.| Howeve|
|00003630| 72 2c 20 65 76 65 6e 20 | 69 66 20 41 70 70 6c 65 |r, even |if Apple|
|00003640| 53 63 72 69 70 74 20 77 | 65 72 65 20 6d 75 6c 74 |Script w|ere mult|
|00003650| 69 2d 74 68 72 65 61 64 | 65 64 20 61 6e 64 00 00 |i-thread|ed and..|
|00003660| 0c e8 00 09 00 55 c2 6e | 61 74 69 76 65 2c 20 69 |.....U.n|ative, i|
|00003670| 74 73 20 72 65 6c 69 61 | 6e 63 65 20 6f 6e 20 53 |ts relia|nce on S|
|00003680| 63 72 69 70 74 69 6e 67 | 20 41 64 64 69 74 69 6f |cripting| Additio|
|00003690| 6e 73 20 61 6e 64 20 65 | 78 74 65 72 6e 61 6c 20 |ns and e|xternal |
|000036a0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 74 6f 20 |applicat|ions to |
|000036b0| 70 65 72 66 6f 72 6d 20 | 69 74 73 00 00 00 0c f4 |perform |its.....|
|000036c0| 00 09 00 55 c2 66 75 6e | 63 74 69 6f 6e 73 20 73 |...U.fun|ctions s|
|000036d0| 65 76 65 72 65 6c 79 20 | 6c 69 6d 69 74 20 70 65 |everely |limit pe|
|000036e0| 72 66 6f 72 6d 61 6e 63 | 65 2c 20 61 6e 64 20 74 |rformanc|e, and t|
|000036f0| 68 75 73 20 6c 69 6d 69 | 74 20 69 74 73 20 75 73 |hus limi|t its us|
|00003700| 65 66 75 6c 6e 65 73 73 | 20 61 73 20 61 20 64 65 |efulness| as a de|
|00003710| 76 65 6c 6f 70 6d 65 6e | 74 00 00 00 0d 00 00 09 |velopmen|t.......|
|00003720| 00 22 c2 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 66 |.".envir|onment f|
|00003730| 6f 72 20 43 47 49 20 61 | 70 70 6c 69 63 61 74 69 |or CGI a|pplicati|
|00003740| 6f 6e 73 2e 00 00 0d 16 | 00 cb 00 07 c3 55 52 4c |ons.....|.....URL|
|00003750| ff d5 73 00 00 00 0d 2c | 00 09 00 26 c2 4e 61 74 |..s....,|...&.Nat|
|00003760| 69 76 65 20 46 72 6f 6e | 74 69 65 72 20 50 75 62 |ive Fron|tier Pub|
|00003770| 6c 69 63 20 42 65 74 61 | 20 72 65 6c 65 61 73 65 |lic Beta| release|
|00003780| 3a 20 00 00 0d 3d 00 09 | 00 4d c2 68 74 74 70 3a |: ...=..|.M.http:|
|00003790| 2f 2f 77 77 77 2e 68 6f | 74 77 69 72 65 64 2e 63 |//www.ho|twired.c|
|000037a0| 6f 6d 2f 20 75 73 65 72 | 6c 61 6e 64 2f 79 61 62 |om/ user|land/yab|
|000037b0| 62 61 64 61 62 62 61 2f | 6e 61 74 69 76 65 66 72 |badabba/|nativefr|
|000037c0| 6f 6e 74 69 65 72 70 75 | 62 6c 69 63 62 65 5f 33 |ontierpu|blicbe_3|
|000037d0| 39 30 2e 68 74 6d 6c 00 | 00 00 0d 4e 00 09 00 3a |90.html.|...N...:|
|000037e0| c2 46 72 6f 6e 74 69 65 | 72 20 43 47 49 20 53 63 |.Frontie|r CGI Sc|
|000037f0| 72 69 70 74 69 6e 67 3a | 20 20 68 74 74 70 3a 2f |ripting:| http:/|
|00003800| 2f 77 77 77 2e 77 65 62 | 65 64 67 65 2e 63 6f 6d |/www.web|edge.com|
|00003810| 2f 66 72 6f 6e 74 69 65 | 72 2f 00 00 0d 5f 00 09 |/frontie|r/..._..|
|00003820| 00 3a c2 41 72 65 74 68 | 61 20 57 65 62 73 69 74 |.:.Areth|a Websit|
|00003830| 65 3a 20 20 68 74 74 70 | 3a 2f 2f 77 77 77 2e 68 |e: http|://www.h|
|00003840| 6f 74 77 69 72 65 64 2e | 63 6f 6d 2f 75 73 65 72 |otwired.|com/user|
|00003850| 6c 61 6e 64 2f 61 72 65 | 74 68 61 2f 44 52 00 00 |land/are|tha/DR..|
|00003860| 00 00 00 0b 42 65 42 6f | 78 20 49 6e 74 72 6f 00 |....BeBo|x Intro.|
|00003870| 02 e9 00 00 00 0c 00 09 | 00 12 c3 56 6f 6c 75 6d |........|...Volum|
|00003880| 65 20 4e 75 6d 62 65 72 | 3a 97 31 32 00 00 00 18 |e Number|:.12....|
|00003890| 00 09 00 10 c3 49 73 73 | 75 65 20 4e 75 6d 62 65 |.....Iss|ue Numbe|
|000038a0| 72 3a a2 31 00 00 00 24 | 00 09 00 26 c3 43 6f 6c |r:.1...$|...&.Col|
|000038b0| 75 6d 6e 20 54 61 67 3a | b0 43 75 74 74 69 6e 67 |umn Tag:|.Cutting|
|000038c0| 20 45 64 67 65 20 54 65 | 63 68 6e 6f 6c 6f 67 69 | Edge Te|chnologi|
|000038d0| 65 73 00 00 00 6d 00 09 | 00 1a c4 4f 70 65 6e 69 |es...m..|...Openi|
|000038e0| 6e 67 20 74 68 65 20 42 | 65 42 6f 78 80 01 6f f0 |ng the B|eBox..o.|
|000038f0| 00 83 00 38 00 00 00 85 | 00 09 00 38 c3 41 20 70 |...8....|...8.A p|
|00003900| 72 6f 67 72 61 6d 6d 65 | 72 ff d5 73 20 69 6e 74 |rogramme|r..s int|
|00003910| 72 6f 64 75 63 74 69 6f | 6e 20 74 6f 20 74 68 65 |roductio|n to the|
|00003920| 20 42 65 20 6f 70 65 72 | 61 74 69 6e 67 20 73 79 | Be oper|ating sy|
|00003930| 73 74 65 6d 00 00 00 99 | 00 09 00 2e c5 42 79 20 |stem....|.....By |
|00003940| 50 65 74 65 72 20 50 6f | 74 72 65 62 69 63 20 61 |Peter Po|trebic a|
|00003950| 6e 64 20 53 74 65 76 65 | 20 48 6f 72 6f 77 69 74 |nd Steve| Horowit|
|00003960| 7a 2c 20 42 65 20 49 6e | 63 2e 00 00 00 bc 00 09 |z, Be In|c.......|
|00003970| 00 55 c5 f0 00 84 00 12 | 20 4e 6f 74 65 3a 20 20 |.U......| Note: |
|00003980| 53 6f 75 72 63 65 20 63 | 6f 64 65 20 66 69 6c 65 |Source c|ode file|
|00003990| 73 20 61 63 63 6f 6d 70 | 61 6e 79 69 6e 67 20 61 |s accomp|anying a|
|000039a0| 72 74 69 63 6c 65 20 61 | 72 65 20 6c 6f 63 61 74 |rticle a|re locat|
|000039b0| 65 64 20 6f 6e 20 4d 61 | 63 54 65 63 68 20 43 44 |ed on Ma|cTech CD|
|000039c0| 2d 52 4f 4d 20 6f 72 00 | 00 00 00 c8 00 09 00 13 |-ROM or.|........|
|000039d0| c5 73 6f 75 72 63 65 20 | 63 6f 64 65 20 64 69 73 |.source |code dis|
|000039e0| 6b 73 2e 00 00 00 00 ed | 00 b8 00 0d c3 49 6e 74 |ks......|.....Int|
|000039f0| 72 6f 64 75 63 74 69 6f | 6e 00 00 00 01 03 00 09 |roductio|n.......|
|00003a00| 00 4e c2 42 65 2c 20 49 | 6e 63 2e 20 77 61 73 20 |.N.Be, I|nc. was |
|00003a10| 66 6f 75 6e 64 65 64 20 | 69 6e 20 31 39 39 30 20 |founded |in 1990 |
|00003a20| 62 79 20 4a 65 61 6e 2d | 4c 6f 75 69 73 20 47 61 |by Jean-|Louis Ga|
|00003a30| 73 73 ff 8e 65 2c 20 66 | 6f 72 6d 65 72 20 70 72 |ss..e, f|ormer pr|
|00003a40| 65 73 69 64 65 6e 74 20 | 6f 66 20 41 70 70 6c 65 |esident |of Apple|
|00003a50| 00 00 01 0f 00 09 00 56 | c2 50 72 6f 64 75 63 74 |.......V|.Product|
|00003a60| 73 2c 20 74 6f 20 64 65 | 73 69 67 6e 20 61 6e 64 |s, to de|sign and|
|00003a70| 20 62 75 69 6c 64 20 61 | 20 6e 65 77 20 63 6f 6d | build a| new com|
|00003a80| 70 75 74 69 6e 67 20 70 | 6c 61 74 66 6f 72 6d 2e |puting p|latform.|
|00003a90| 20 20 54 68 65 20 66 69 | 72 73 74 20 70 72 6f 64 | The fi|rst prod|
|00003aa0| 75 63 74 20 6f 66 66 65 | 72 65 64 20 62 79 00 00 |uct offe|red by..|
|00003ab0| 01 1b 00 09 00 55 c2 74 | 68 65 20 63 6f 6d 70 61 |.....U.t|he compa|
|00003ac0| 6e 79 20 69 73 20 61 20 | 6d 75 6c 74 69 70 72 6f |ny is a |multipro|
|00003ad0| 63 65 73 73 69 6e 67 20 | 63 6f 6d 70 75 74 65 72 |cessing |computer|
|00003ae0| 20 63 61 6c 6c 65 64 20 | 74 68 65 20 42 65 42 6f | called |the BeBo|
|00003af0| 78 2e 20 20 49 74 20 63 | 6f 6e 74 61 69 6e 73 20 |x. It c|ontains |
|00003b00| 74 77 6f 20 50 6f 77 65 | 72 50 43 00 00 00 01 27 |two Powe|rPC....'|
|00003b10| 00 09 00 33 c2 36 30 33 | 20 70 72 6f 63 65 73 73 |...3.603| process|
|00003b20| 6f 72 73 20 61 6e 64 20 | 61 20 6e 65 77 2c 20 6d |ors and |a new, m|
|00003b30| 6f 64 65 72 6e 20 6f 70 | 65 72 61 74 69 6e 67 20 |odern op|erating |
|00003b40| 73 79 73 74 65 6d 2e 00 | 00 00 01 38 00 24 00 53 |system..|...8.$.S|
|00003b50| c2 54 68 69 73 20 61 72 | 74 69 63 6c 65 20 77 69 |.This ar|ticle wi|
|00003b60| 6c 6c 20 64 65 73 63 72 | 69 62 65 20 73 6f 6d 65 |ll descr|ibe some|
|00003b70| 20 6f 66 20 74 68 65 20 | 70 68 69 6c 6f 73 6f 70 | of the |philosop|
|00003b80| 68 79 20 62 65 68 69 6e | 64 20 74 68 65 20 64 65 |hy behin|d the de|
|00003b90| 73 69 67 6e 20 6f 66 20 | 74 68 65 20 42 65 42 6f |sign of |the BeBo|
|00003ba0| 78 2e 20 00 00 00 01 44 | 00 09 00 50 c2 49 74 20 |x. ....D|...P.It |
|00003bb0| 77 69 6c 6c 20 67 6f 20 | 69 6e 74 6f 20 73 6f 6d |will go |into som|
|00003bc0| 65 20 64 65 74 61 69 6c | 20 65 78 70 6c 61 69 6e |e detail| explain|
|00003bd0| 69 6e 67 20 74 68 65 20 | 73 79 73 74 65 6d 20 73 |ing the |system s|
|00003be0| 6f 66 74 77 61 72 65 20 | 61 72 63 68 69 74 65 63 |oftware |architec|
|00003bf0| 74 75 72 65 20 77 69 74 | 68 20 61 6e 00 00 01 50 |ture wit|h an...P|
|00003c00| 00 09 00 4d c2 6f 76 65 | 72 76 69 65 77 20 6f 66 |...M.ove|rview of|
|00003c10| 20 74 68 65 20 6b 65 79 | 20 63 6f 6d 70 6f 6e 65 | the key| compone|
|00003c20| 6e 74 73 2e 20 20 54 68 | 65 20 61 72 74 69 63 6c |nts. Th|e articl|
|00003c30| 65 20 61 6c 73 6f 20 69 | 6e 63 6c 75 64 65 73 20 |e also i|ncludes |
|00003c40| 73 6f 75 72 63 65 20 63 | 6f 64 65 20 61 6e 64 20 |source c|ode and |
|00003c50| 61 00 00 00 01 5c 00 09 | 00 54 c2 64 65 73 63 72 |a....\..|.T.descr|
|00003c60| 69 70 74 69 6f 6e 20 6f | 66 20 61 20 73 61 6d 70 |iption o|f a samp|
|00003c70| 6c 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 2c 20 |le appli|cation, |
|00003c80| 74 6f 20 67 69 76 65 20 | 79 6f 75 20 61 20 66 65 |to give |you a fe|
|00003c90| 65 6c 20 66 6f 72 20 77 | 72 69 74 69 6e 67 20 73 |el for w|riting s|
|00003ca0| 6f 66 74 77 61 72 65 20 | 6f 6e 20 74 68 65 00 00 |oftware |on the..|
|00003cb0| 01 68 00 09 00 50 c2 42 | 65 42 6f 78 2e 20 20 46 |.h...P.B|eBox. F|
|00003cc0| 6f 72 20 6d 6f 72 65 20 | 64 65 74 61 69 6c 65 64 |or more |detailed|
|00003cd0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|00003ce0| 42 65 20 61 6e 64 20 74 | 68 65 20 42 65 42 6f 78 |Be and t|he BeBox|
|00003cf0| 2c 20 61 73 20 77 65 6c | 6c 20 61 73 20 61 20 6c |, as wel|l as a l|
|00003d00| 6f 6f 6b 20 61 74 00 00 | 01 74 00 09 00 47 c2 64 |ook at..|.t...G.d|
|00003d10| 65 76 65 6c 6f 70 65 72 | 20 64 6f 63 75 6d 65 6e |eveloper| documen|
|00003d20| 74 61 74 69 6f 6e 2c 20 | 70 6c 65 61 73 65 20 76 |tation, |please v|
|00003d30| 69 73 69 74 20 6f 75 72 | 20 77 65 62 20 73 69 74 |isit our| web sit|
|00003d40| 65 3a 20 68 74 74 70 3a | 2f 2f 77 77 77 2e 62 65 |e: http:|//www.be|
|00003d50| 2e 63 6f 6d 2e 00 00 00 | 01 8a 00 a7 00 12 c3 44 |.com....|.......D|
|00003d60| 65 73 69 67 6e 20 50 68 | 69 6c 6f 73 6f 70 68 79 |esign Ph|ilosophy|
|00003d70| 00 00 01 a0 00 09 00 56 | c2 54 68 65 20 42 65 42 |.......V|.The BeB|
|00003d80| 6f 78 20 77 61 73 20 64 | 65 73 69 67 6e 65 64 20 |ox was d|esigned |
|00003d90| 77 69 74 68 20 74 68 65 | 20 74 65 63 68 6e 6f 6c |with the| technol|
|00003da0| 6f 67 79 20 65 6e 74 68 | 75 73 69 61 73 74 20 69 |ogy enth|usiast i|
|00003db0| 6e 20 6d 69 6e 64 2e 20 | 20 41 73 20 4a 65 61 6e |n mind. | As Jean|
|00003dc0| 2d 4c 6f 75 69 73 20 69 | 73 20 66 6f 6e 64 00 00 |-Louis i|s fond..|
|00003dd0| 01 ac 00 09 00 5a c2 6f | 66 20 73 61 79 69 6e 67 |.....Z.o|f saying|
|00003de0| 2c 20 ff d2 4f 6e 6c 79 | 20 74 68 65 20 6c 75 6e |, ..Only| the lun|
|00003df0| 61 74 69 63 20 66 72 69 | 6e 67 65 20 77 69 6c 6c |atic fri|nge will|
|00003e00| 20 6c 65 61 64 20 75 73 | 20 74 6f 20 74 68 65 20 | lead us| to the |
|00003e10| 74 72 75 6c 79 20 69 6e | 6e 6f 76 61 74 69 76 65 |truly in|novative|
|00003e20| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 2e ff d3 | applica|tions...|
|00003e30| 00 00 01 b8 00 09 00 4b | c2 45 76 65 72 79 20 6d |.......K|.Every m|
|00003e40| 61 63 68 69 6e 65 20 69 | 73 20 70 72 6f 67 72 61 |achine i|s progra|
|00003e50| 6d 6d 61 62 6c 65 20 72 | 69 67 68 74 20 6f 75 74 |mmable r|ight out|
|00003e60| 20 6f 66 20 74 68 65 20 | 62 6f 78 2c 20 61 6e 64 | of the |box, and|
|00003e70| 20 63 6f 6d 65 73 20 62 | 75 6e 64 6c 65 64 20 77 | comes b|undled w|
|00003e80| 69 74 68 00 00 00 01 c4 | 00 09 00 4f c2 70 72 6f |ith.....|...O.pro|
|00003e90| 67 72 61 6d 6d 69 6e 67 | 20 74 6f 6f 6c 73 20 66 |gramming| tools f|
|00003ea0| 72 6f 6d 20 4d 65 74 72 | 6f 77 65 72 6b 73 20 61 |rom Metr|owerks a|
|00003eb0| 6e 64 20 66 75 6c 6c 20 | 64 65 76 65 6c 6f 70 65 |nd full |develope|
|00003ec0| 72 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 2e |r docume|ntation.|
|00003ed0| 20 20 57 65 20 64 6f 20 | 6e 6f 74 00 00 00 01 d0 | We do |not.....|
|00003ee0| 00 09 00 52 c2 65 78 70 | 65 63 74 20 74 68 61 74 |...R.exp|ect that|
|00003ef0| 20 74 68 65 20 42 65 42 | 6f 78 20 77 69 6c 6c 20 | the BeB|ox will |
|00003f00| 62 65 20 79 6f 75 72 20 | 66 69 72 73 74 20 63 6f |be your |first co|
|00003f10| 6d 70 75 74 65 72 20 2d | 20 69 74 20 77 69 6c 6c |mputer -| it will|
|00003f20| 20 6e 6f 74 20 72 75 6e | 20 61 6e 79 20 4d 61 63 | not run| any Mac|
|00003f30| 69 6e 74 6f 73 68 00 00 | 01 dc 00 09 00 52 c2 73 |intosh..|.....R.s|
|00003f40| 6f 66 74 77 61 72 65 20 | 6e 6f 72 20 77 69 6c 6c |oftware |nor will|
|00003f50| 20 69 74 20 72 75 6e 20 | 57 69 6e 64 6f 77 73 2e | it run |Windows.|
|00003f60| 20 20 48 6f 77 65 76 65 | 72 2c 20 69 66 20 79 6f | Howeve|r, if yo|
|00003f70| 75 20 61 72 65 20 65 78 | 63 69 74 65 64 20 62 79 |u are ex|cited by|
|00003f80| 20 6e 65 77 20 74 65 63 | 68 6e 6f 6c 6f 67 79 2c | new tec|hnology,|
|00003f90| 00 00 01 e8 00 09 00 56 | c2 6b 6e 6f 77 20 68 6f |.......V|.know ho|
|00003fa0| 77 20 74 6f 20 77 72 69 | 74 65 20 63 6f 64 65 2c |w to wri|te code,|
|00003fb0| 20 61 6e 64 20 68 61 76 | 65 20 61 20 70 69 6f 6e | and hav|e a pion|
|00003fc0| 65 65 72 69 6e 67 20 73 | 70 69 72 69 74 2c 20 74 |eering s|pirit, t|
|00003fd0| 68 65 20 42 65 42 6f 78 | 20 6d 61 79 20 68 61 76 |he BeBox| may hav|
|00003fe0| 65 20 73 6f 6d 65 74 68 | 69 6e 67 20 74 6f 00 00 |e someth|ing to..|
|00003ff0| 01 f4 00 09 00 51 c2 6f | 66 66 65 72 20 79 6f 75 |.....Q.o|ffer you|
|00004000| 2e 20 20 53 65 65 20 46 | 69 67 75 72 65 20 31 20 |. See F|igure 1 |
|00004010| 66 6f 72 20 61 20 73 63 | 72 65 65 6e 73 68 6f 74 |for a sc|reenshot|
|00004020| 20 73 68 6f 77 69 6e 67 | 20 61 20 66 65 77 20 72 | showing| a few r|
|00004030| 75 6e 6e 69 6e 67 20 42 | 65 20 61 70 70 6c 69 63 |unning B|e applic|
|00004040| 61 74 69 6f 6e 73 2e 00 | 00 00 02 c9 00 55 00 06 |ations..|.....U..|
|00004050| c2 f0 00 85 01 0a 00 00 | 02 e4 00 96 00 1d c5 46 |........|.......F|
|00004060| 69 67 75 72 65 20 31 2e | 20 53 61 6d 70 6c 65 20 |igure 1.| Sample |
|00004070| 73 63 72 65 65 6e 20 73 | 68 6f 74 00 00 00 02 ff |screen s|hot.....|
|00004080| 00 24 00 4a c2 48 69 73 | 74 6f 72 79 20 68 61 73 |.$.J.His|tory has|
|00004090| 20 73 68 6f 77 6e 20 74 | 68 61 74 20 69 74 20 69 | shown t|hat it i|
|000040a0| 73 20 64 69 66 66 69 63 | 75 6c 74 20 74 6f 20 70 |s diffic|ult to p|
|000040b0| 72 65 64 69 63 74 20 74 | 68 65 20 6d 61 72 6b 65 |redict t|he marke|
|000040c0| 74 73 20 77 68 65 72 65 | 20 61 20 6e 65 77 00 00 |ts where| a new..|
|000040d0| 03 0b 00 09 00 58 c2 63 | 6f 6d 70 75 74 65 72 20 |.....X.c|omputer |
|000040e0| 6d 69 67 68 74 20 62 65 | 20 73 75 63 63 65 73 73 |might be| success|
|000040f0| 66 75 6c 2e 20 20 57 65 | 20 62 65 6c 69 65 76 65 |ful. We| believe|
|00004100| 20 74 68 61 74 20 64 65 | 76 65 6c 6f 70 65 72 73 | that de|velopers|
|00004110| 20 77 69 6c 6c 20 6c 65 | 61 64 20 75 73 2c 20 61 | will le|ad us, a|
|00004120| 6e 64 20 73 6f 20 6f 75 | 72 20 67 6f 61 6c 00 00 |nd so ou|r goal..|
|00004130| 03 17 00 09 00 56 c2 69 | 73 20 74 6f 20 70 72 6f |.....V.i|s to pro|
|00004140| 76 69 64 65 20 61 20 75 | 6e 69 71 75 65 20 73 65 |vide a u|nique se|
|00004150| 74 20 6f 66 20 73 79 73 | 74 65 6d 20 73 6f 66 74 |t of sys|tem soft|
|00004160| 77 61 72 65 20 66 65 61 | 74 75 72 65 73 2c 20 61 |ware fea|tures, a|
|00004170| 20 6c 6f 77 2d 63 6f 73 | 74 20 68 61 72 64 77 61 | low-cos|t hardwa|
|00004180| 72 65 20 70 6c 61 74 66 | 6f 72 6d 2c 00 00 03 23 |re platf|orm,...#|
|00004190| 00 09 00 57 c2 67 72 65 | 61 74 20 64 65 76 65 6c |...W.gre|at devel|
|000041a0| 6f 70 6d 65 6e 74 20 74 | 6f 6f 6c 73 2c 20 61 6e |opment t|ools, an|
|000041b0| 64 20 61 6e 20 65 78 74 | 65 6e 73 69 76 65 20 64 |d an ext|ensive d|
|000041c0| 65 76 65 6c 6f 70 65 72 | 20 73 75 70 70 6f 72 74 |eveloper| support|
|000041d0| 20 70 72 6f 67 72 61 6d | 2e 20 20 41 64 64 69 74 | program|. Addit|
|000041e0| 69 6f 6e 61 6c 6c 79 2c | 20 77 65 00 00 00 03 2f |ionally,| we..../|
|000041f0| 00 09 00 53 c2 70 6c 61 | 6e 20 74 6f 20 68 65 6c |...S.pla|n to hel|
|00004200| 70 20 6f 75 72 20 64 65 | 76 65 6c 6f 70 65 72 73 |p our de|velopers|
|00004210| 20 72 65 61 63 68 20 74 | 68 65 69 72 20 70 6f 74 | reach t|heir pot|
|00004220| 65 6e 74 69 61 6c 20 63 | 75 73 74 6f 6d 65 72 73 |ential c|ustomers|
|00004230| 20 62 79 20 6f 66 66 65 | 72 69 6e 67 20 65 6c 65 | by offe|ring ele|
|00004240| 63 74 72 6f 6e 69 63 00 | 00 00 03 3b 00 09 00 58 |ctronic.|...;...X|
|00004250| c2 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 6f 66 |.distrib|ution of|
|00004260| 20 74 68 65 69 72 20 73 | 6f 66 74 77 61 72 65 20 | their s|oftware |
|00004270| 6f 6e 20 74 68 65 20 42 | 65 20 77 65 62 20 73 69 |on the B|e web si|
|00004280| 74 65 2e 20 20 46 72 6f | 6d 20 61 6c 6c 20 6f 66 |te. Fro|m all of|
|00004290| 20 74 68 69 73 20 77 65 | 20 68 6f 70 65 20 74 6f | this we| hope to|
|000042a0| 20 73 65 65 20 6e 65 77 | 00 00 03 47 00 09 00 48 | see new|...G...H|
|000042b0| c2 61 6e 64 20 69 6e 6e | 6f 76 61 74 69 76 65 20 |.and inn|ovative |
|000042c0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 66 6f 72 |applicat|ions for|
|000042d0| 20 6d 61 72 6b 65 74 73 | 20 77 65 20 63 6f 75 6c | markets| we coul|
|000042e0| 64 20 6e 6f 74 20 70 6f | 73 73 69 62 6c 79 20 65 |d not po|ssibly e|
|000042f0| 6e 76 69 73 69 6f 6e 2e | 00 00 03 58 00 24 00 4a |nvision.|...X.$.J|
|00004300| c2 54 68 65 20 42 65 42 | 6f 78 20 77 61 73 20 64 |.The BeB|ox was d|
|00004310| 65 73 69 67 6e 65 64 20 | 62 79 20 61 6e 20 65 78 |esigned |by an ex|
|00004320| 74 72 65 6d 65 6c 79 20 | 73 6d 61 6c 6c 20 74 65 |tremely |small te|
|00004330| 61 6d 20 6f 76 65 72 20 | 61 70 70 72 6f 78 69 6d |am over |approxim|
|00004340| 61 74 65 6c 79 20 66 6f | 75 72 00 00 03 64 00 09 |ately fo|ur...d..|
|00004350| 00 58 c2 79 65 61 72 73 | 2e 20 20 57 65 20 73 74 |.X.years|. We st|
|00004360| 61 72 74 65 64 20 77 69 | 74 68 20 61 20 63 6c 65 |arted wi|th a cle|
|00004370| 61 6e 20 73 6c 61 74 65 | 20 61 6e 64 20 66 6f 63 |an slate| and foc|
|00004380| 75 73 65 64 20 6f 6e 20 | 61 20 63 6f 75 70 6c 65 |used on |a couple|
|00004390| 20 6f 66 20 6b 65 79 20 | 69 64 65 61 73 2e 20 20 | of key |ideas. |
|000043a0| 4f 6e 65 20 6f 66 20 74 | 68 65 00 00 03 70 00 09 |One of t|he...p..|
|000043b0| 00 4f c2 66 75 6e 64 61 | 6d 65 6e 74 61 6c 20 64 |.O.funda|mental d|
|000043c0| 65 73 69 67 6e 20 74 65 | 63 68 6e 69 71 75 65 73 |esign te|chniques|
|000043d0| 20 77 61 73 20 74 6f 20 | 67 69 76 65 20 72 65 73 | was to |give res|
|000043e0| 70 6f 6e 73 69 62 69 6c | 69 74 79 20 66 6f 72 20 |ponsibil|ity for |
|000043f0| 65 61 63 68 20 6d 61 6a | 6f 72 20 73 79 73 74 65 |each maj|or syste|
|00004400| 6d 00 00 00 03 7c 00 09 | 00 56 c2 63 6f 6d 70 6f |m....|..|.V.compo|
|00004410| 6e 65 6e 74 20 74 6f 20 | 6f 6e 65 20 70 65 72 73 |nent to |one pers|
|00004420| 6f 6e 2e 20 20 42 79 20 | 63 6f 6e 63 65 6e 74 72 |on. By |concentr|
|00004430| 61 74 69 6e 67 20 74 68 | 65 20 64 65 63 69 73 69 |ating th|e decisi|
|00004440| 6f 6e 2d 6d 61 6b 69 6e | 67 20 70 72 6f 63 65 73 |on-makin|g proces|
|00004450| 73 2c 20 74 68 65 20 65 | 6e 67 69 6e 65 65 72 73 |s, the e|ngineers|
|00004460| 00 00 03 88 00 09 00 55 | c2 77 65 72 65 20 61 6c |.......U|.were al|
|00004470| 6c 6f 77 65 64 20 61 20 | 67 72 65 61 74 20 64 65 |lowed a |great de|
|00004480| 61 6c 20 6f 66 20 66 72 | 65 65 64 6f 6d 20 77 69 |al of fr|eedom wi|
|00004490| 74 68 6f 75 74 20 68 61 | 76 69 6e 67 20 74 6f 20 |thout ha|ving to |
|000044a0| 6a 75 73 74 69 66 79 20 | 61 6e 64 20 67 65 74 20 |justify |and get |
|000044b0| 63 6f 6e 73 65 6e 73 75 | 73 20 66 6f 72 00 00 00 |consensu|s for...|
|000044c0| 03 94 00 09 00 56 c2 65 | 76 65 72 79 20 64 65 73 |.....V.e|very des|
|000044d0| 69 67 6e 20 64 65 63 69 | 73 69 6f 6e 2e 20 20 48 |ign deci|sion. H|
|000044e0| 6f 77 65 76 65 72 2c 20 | 73 69 6e 63 65 20 6d 6f |owever, |since mo|
|000044f0| 73 74 20 6f 66 20 74 68 | 65 20 63 6f 6d 70 6f 6e |st of th|e compon|
|00004500| 65 6e 74 73 20 77 65 72 | 65 20 69 6e 74 65 72 72 |ents wer|e interr|
|00004510| 65 6c 61 74 65 64 20 74 | 68 65 72 65 00 00 03 a0 |elated t|here....|
|00004520| 00 09 00 54 c2 77 61 73 | 20 65 6e 6f 75 67 68 20 |...T.was| enough |
|00004530| 69 6e 66 6f 72 6d 61 6c | 20 69 6e 74 65 72 61 63 |informal| interac|
|00004540| 74 69 6f 6e 20 74 6f 20 | 61 73 73 75 72 65 20 74 |tion to |assure t|
|00004550| 68 61 74 20 77 65 20 77 | 65 72 65 20 61 6c 6c 20 |hat we w|ere all |
|00004560| 6f 6e 20 74 68 65 20 73 | 61 6d 65 20 74 72 61 63 |on the s|ame trac|
|00004570| 6b 2e 20 20 54 68 69 73 | 00 00 03 ac 00 09 00 58 |k. This|.......X|
|00004580| c2 61 70 70 72 6f 61 63 | 68 20 61 6c 6c 6f 77 65 |.approac|h allowe|
|00004590| 64 20 75 73 20 74 6f 20 | 61 76 6f 69 64 20 73 6f |d us to |avoid so|
|000045a0| 6d 65 20 6f 66 20 74 68 | 65 20 70 69 74 66 61 6c |me of th|e pitfal|
|000045b0| 6c 73 20 6f 66 20 6f 76 | 65 72 64 65 73 69 67 6e |ls of ov|erdesign|
|000045c0| 20 61 6e 64 20 72 65 73 | 75 6c 74 65 64 20 69 6e | and res|ulted in|
|000045d0| 20 77 68 61 74 20 77 65 | 00 00 03 b8 00 09 00 4c | what we|.......L|
|000045e0| c2 62 65 6c 69 65 76 65 | 20 69 73 20 61 20 73 69 |.believe| is a si|
|000045f0| 6d 70 6c 65 2c 20 65 66 | 66 69 63 69 65 6e 74 2c |mple, ef|ficient,|
|00004600| 20 61 6e 64 20 66 61 73 | 74 20 73 65 74 20 6f 66 | and fas|t set of|
|00004610| 20 73 79 73 74 65 6d 20 | 73 6f 66 74 77 61 72 65 | system |software|
|00004620| 20 63 6f 6d 70 6f 6e 65 | 6e 74 73 2e 00 00 03 c9 | compone|nts.....|
|00004630| 00 24 00 50 c2 20 41 6e | 6f 74 68 65 72 20 64 65 |.$.P. An|other de|
|00004640| 63 69 73 69 6f 6e 20 77 | 65 20 6d 61 64 65 20 65 |cision w|e made e|
|00004650| 61 72 6c 79 20 6f 6e 20 | 77 61 73 20 74 6f 20 74 |arly on |was to t|
|00004660| 61 6b 65 20 61 20 43 2b | 2b 20 6c 69 67 68 74 20 |ake a C+|+ light |
|00004670| 61 70 70 72 6f 61 63 68 | 2e 20 20 57 65 20 77 61 |approach|. We wa|
|00004680| 6e 74 65 64 00 00 03 d5 | 00 09 00 51 c2 74 6f 20 |nted....|...Q.to |
|00004690| 75 73 65 20 61 6e 20 6f | 62 6a 65 63 74 2d 6f 72 |use an o|bject-or|
|000046a0| 69 65 6e 74 65 64 20 70 | 72 6f 67 72 61 6d 6d 69 |iented p|rogrammi|
|000046b0| 6e 67 20 6c 61 6e 67 75 | 61 67 65 2c 20 62 75 74 |ng langu|age, but|
|000046c0| 20 6e 6f 74 20 6e 65 63 | 65 73 73 61 72 69 6c 79 | not nec|essarily|
|000046d0| 20 74 6f 20 75 73 65 20 | 65 76 65 72 79 00 00 00 | to use |every...|
|000046e0| 03 e1 00 09 00 53 c2 66 | 65 61 74 75 72 65 20 74 |.....S.f|eature t|
|000046f0| 68 65 20 6c 61 6e 67 75 | 61 67 65 20 68 61 64 20 |he langu|age had |
|00004700| 74 6f 20 6f 66 66 65 72 | 2e 20 20 50 72 6f 67 72 |to offer|. Progr|
|00004710| 61 6d 6d 65 72 73 20 6e | 65 65 64 20 6e 6f 74 20 |ammers n|eed not |
|00004720| 62 65 20 43 2b 2b 20 65 | 78 70 65 72 74 73 20 74 |be C++ e|xperts t|
|00004730| 6f 20 70 72 6f 67 72 61 | 6d 00 00 00 03 ed 00 09 |o progra|m.......|
|00004740| 00 53 c2 74 68 65 20 42 | 65 42 6f 78 2e 20 20 54 |.S.the B|eBox. T|
|00004750| 68 69 73 20 64 65 63 69 | 73 69 6f 6e 20 6d 61 6b |his deci|sion mak|
|00004760| 65 73 20 74 68 65 20 73 | 79 73 74 65 6d 20 6d 6f |es the s|ystem mo|
|00004770| 72 65 20 61 70 70 72 6f | 61 63 68 61 62 6c 65 20 |re appro|achable |
|00004780| 62 79 20 61 20 6c 61 72 | 67 65 72 20 6e 75 6d 62 |by a lar|ger numb|
|00004790| 65 72 20 6f 66 00 00 00 | 03 f9 00 09 00 58 c2 70 |er of...|.....X.p|
|000047a0| 65 6f 70 6c 65 20 77 69 | 74 68 20 61 20 76 61 72 |eople wi|th a var|
|000047b0| 69 65 74 79 20 6f 66 20 | 70 72 6f 67 72 61 6d 6d |iety of |programm|
|000047c0| 69 6e 67 20 65 78 70 65 | 72 69 65 6e 63 65 73 2e |ing expe|riences.|
|000047d0| 20 20 49 74 20 69 73 20 | 61 6c 73 6f 20 66 61 69 | It is |also fai|
|000047e0| 72 6c 79 20 65 61 73 79 | 20 74 6f 20 61 62 73 6f |rly easy| to abso|
|000047f0| 72 62 20 74 68 65 00 00 | 04 05 00 09 00 4b c2 42 |rb the..|.....K.B|
|00004800| 65 20 63 6c 61 73 73 20 | 6c 69 62 72 61 72 69 65 |e class |librarie|
|00004810| 73 20 61 6e 64 20 67 65 | 74 20 61 20 73 69 6d 70 |s and ge|t a simp|
|00004820| 6c 65 20 42 65 20 61 70 | 70 6c 69 63 61 74 69 6f |le Be ap|plicatio|
|00004830| 6e 20 75 70 20 61 6e 64 | 20 72 75 6e 6e 69 6e 67 |n up and| running|
|00004840| 20 71 75 69 63 6b 6c 79 | 2e 00 00 00 04 1b 00 8f | quickly|........|
|00004850| 00 19 c3 53 79 73 74 65 | 6d 20 53 6f 66 74 77 61 |...Syste|m Softwa|
|00004860| 72 65 20 4f 76 65 72 76 | 69 65 77 00 00 00 04 31 |re Overv|iew....1|
|00004870| 00 09 00 54 c2 54 68 65 | 20 64 65 73 69 67 6e 20 |...T.The| design |
|00004880| 6f 66 20 74 68 65 20 42 | 65 20 6f 70 65 72 61 74 |of the B|e operat|
|00004890| 69 6e 67 20 73 79 73 74 | 65 6d 20 69 73 20 62 61 |ing syst|em is ba|
|000048a0| 73 65 64 20 61 72 6f 75 | 6e 64 20 61 20 63 6c 69 |sed arou|nd a cli|
|000048b0| 65 6e 74 2f 73 65 72 76 | 65 72 20 61 72 63 68 69 |ent/serv|er archi|
|000048c0| 74 65 63 74 75 72 65 2c | 00 00 04 3d 00 09 00 56 |tecture,|...=...V|
|000048d0| c2 77 69 74 68 20 61 20 | 6d 69 63 72 6f 6b 65 72 |.with a |microker|
|000048e0| 6e 65 6c 20 61 74 20 74 | 68 65 20 6c 6f 77 65 73 |nel at t|he lowes|
|000048f0| 74 20 6c 65 76 65 6c 20 | 70 72 6f 76 69 64 69 6e |t level |providin|
|00004900| 67 20 61 6c 6c 20 74 68 | 65 20 4f 53 20 66 75 6e |g all th|e OS fun|
|00004910| 63 74 69 6f 6e 61 6c 69 | 74 79 20 75 73 65 64 20 |ctionali|ty used |
|00004920| 62 79 20 74 68 65 00 00 | 04 49 00 09 00 58 c2 68 |by the..|.I...X.h|
|00004930| 69 67 68 65 72 20 6c 65 | 76 65 6c 73 2e 20 20 54 |igher le|vels. T|
|00004940| 68 65 20 64 65 76 65 6c | 6f 70 65 72 20 6d 61 6b |he devel|oper mak|
|00004950| 65 73 20 75 73 65 20 6f | 66 20 61 20 73 65 74 20 |es use o|f a set |
|00004960| 6f 66 20 63 6c 69 65 6e | 74 2d 73 69 64 65 20 43 |of clien|t-side C|
|00004970| 2b 2b 20 63 6c 61 73 73 | 20 6c 69 62 72 61 72 69 |++ class| librari|
|00004980| 65 73 20 61 6e 64 00 00 | 04 55 00 09 00 26 c2 43 |es and..|.U...&.C|
|00004990| 20 66 75 6e 63 74 69 6f | 6e 73 20 74 6f 20 77 72 | functio|ns to wr|
|000049a0| 69 74 65 20 42 65 20 61 | 70 70 6c 69 63 61 74 69 |ite Be a|pplicati|
|000049b0| 6f 6e 73 2e 00 00 04 66 | 00 24 00 4d c2 54 68 65 |ons....f|.$.M.The|
|000049c0| 20 73 79 73 74 65 6d 20 | 73 6f 66 74 77 61 72 65 | system |software|
|000049d0| 20 63 6f 6e 73 69 73 74 | 73 20 6f 66 20 61 20 6e | consist|s of a n|
|000049e0| 75 6d 62 65 72 20 6f 66 | 20 6b 65 79 20 63 6f 6d |umber of| key com|
|000049f0| 70 6f 6e 65 6e 74 73 2e | 20 20 53 65 76 65 72 61 |ponents.| Severa|
|00004a00| 6c 20 73 65 72 76 65 72 | 73 00 00 00 04 72 00 09 |l server|s....r..|
|00004a10| 00 58 c2 61 72 65 20 62 | 75 69 6c 74 20 6f 6e 20 |.X.are b|uilt on |
|00004a20| 74 6f 70 20 6f 66 20 74 | 68 65 20 6b 65 72 6e 65 |top of t|he kerne|
|00004a30| 6c 20 69 6e 63 6c 75 64 | 69 6e 67 20 61 6e 20 61 |l includ|ing an a|
|00004a40| 70 70 6c 69 63 61 74 69 | 6f 6e 20 73 65 72 76 65 |pplicati|on serve|
|00004a50| 72 2c 20 73 74 6f 72 61 | 67 65 20 73 65 72 76 65 |r, stora|ge serve|
|00004a60| 72 2c 20 6e 65 74 77 6f | 72 6b 00 00 04 7e 00 09 |r, netwo|rk...~..|
|00004a70| 00 52 c2 73 65 72 76 65 | 72 2c 20 61 6e 64 20 6d |.R.serve|r, and m|
|00004a80| 65 64 69 61 20 73 65 72 | 76 65 72 2e 20 20 54 68 |edia ser|ver. Th|
|00004a90| 65 20 73 65 72 76 65 72 | 73 20 72 75 6e 20 69 6e |e server|s run in|
|00004aa0| 20 73 65 70 61 72 61 74 | 65 20 70 72 6f 74 65 63 | separat|e protec|
|00004ab0| 74 65 64 20 6d 65 6d 6f | 72 79 20 61 72 65 61 73 |ted memo|ry areas|
|00004ac0| 20 61 6e 64 00 00 04 8a | 00 09 00 4c c2 69 6d 70 | and....|...L.imp|
|00004ad0| 6c 65 6d 65 6e 74 20 74 | 68 65 20 6d 61 6a 6f 72 |lement t|he major|
|00004ae0| 69 74 79 20 6f 66 20 73 | 79 73 74 65 6d 20 66 75 |ity of s|ystem fu|
|00004af0| 6e 63 74 69 6f 6e 61 6c | 69 74 79 20 61 76 61 69 |nctional|ity avai|
|00004b00| 6c 61 62 6c 65 20 66 72 | 6f 6d 20 74 68 65 20 43 |lable fr|om the C|
|00004b10| 2b 2b 20 63 6c 61 73 73 | 00 00 04 96 00 09 00 55 |++ class|.......U|
|00004b20| c2 6c 69 62 72 61 72 69 | 65 73 2e 20 20 54 68 65 |.librari|es. The|
|00004b30| 20 63 6c 61 73 73 20 6c | 69 62 72 61 72 69 65 73 | class l|ibraries|
|00004b40| 20 61 72 65 20 62 72 6f | 6b 65 6e 20 75 70 20 69 | are bro|ken up i|
|00004b50| 6e 74 6f 20 61 20 73 65 | 72 69 65 73 20 6f 66 20 |nto a se|ries of |
|00004b60| 6b 69 74 73 20 77 68 69 | 63 68 20 65 78 70 6f 72 |kits whi|ch expor|
|00004b70| 74 20 74 68 65 00 00 00 | 04 a2 00 09 00 58 c2 66 |t the...|.....X.f|
|00004b80| 75 6e 63 74 69 6f 6e 61 | 6c 69 74 79 20 66 72 6f |unctiona|lity fro|
|00004b90| 6d 20 74 68 65 20 73 65 | 72 76 65 72 73 20 74 6f |m the se|rvers to|
|00004ba0| 20 74 68 65 20 63 6c 69 | 65 6e 74 20 61 70 70 6c | the cli|ent appl|
|00004bb0| 69 63 61 74 69 6f 6e 73 | 2e 20 20 41 6d 6f 6e 67 |ications|. Among|
|00004bc0| 20 74 68 65 20 6b 69 74 | 73 20 61 76 61 69 6c 61 | the kit|s availa|
|00004bd0| 62 6c 65 20 74 6f 00 00 | 04 ae 00 09 00 5b c2 42 |ble to..|.....[.B|
|00004be0| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 61 |e applic|ations a|
|00004bf0| 72 65 20 61 6e 20 61 70 | 70 6c 69 63 61 74 69 6f |re an ap|plicatio|
|00004c00| 6e 20 6b 69 74 2c 20 69 | 6e 74 65 72 66 61 63 65 |n kit, i|nterface|
|00004c10| 20 6b 69 74 2c 20 4f 53 | 20 6b 69 74 2c 20 64 65 | kit, OS| kit, de|
|00004c20| 76 69 63 65 20 6b 69 74 | 2c 20 6d 65 64 69 61 20 |vice kit|, media |
|00004c30| 6b 69 74 2c 20 6d 69 64 | 69 00 00 00 04 ba 00 09 |kit, mid|i.......|
|00004c40| 00 57 c2 6b 69 74 2c 20 | 6e 65 74 77 6f 72 6b 69 |.W.kit, |networki|
|00004c50| 6e 67 20 6b 69 74 2c 20 | 61 6e 64 20 73 74 6f 72 |ng kit, |and stor|
|00004c60| 61 67 65 20 6b 69 74 2e | 20 20 54 68 65 20 64 65 |age kit.| The de|
|00004c70| 74 61 69 6c 73 20 6f 66 | 20 61 6c 6c 20 6f 66 20 |tails of| all of |
|00004c80| 74 68 65 73 65 20 6b 69 | 74 73 20 61 72 65 20 62 |these ki|ts are b|
|00004c90| 65 79 6f 6e 64 20 74 68 | 65 00 00 00 04 c6 00 09 |eyond th|e.......|
|00004ca0| 00 59 c2 73 63 6f 70 65 | 20 6f 66 20 74 68 69 73 |.Y.scope| of this|
|00004cb0| 20 61 72 74 69 63 6c 65 | 2e 20 20 49 6e 73 74 65 | article|. Inste|
|00004cc0| 61 64 2c 20 74 68 69 73 | 20 61 72 74 69 63 6c 65 |ad, this| article|
|00004cd0| 20 70 72 6f 76 69 64 65 | 73 20 61 20 62 72 69 65 | provide|s a brie|
|00004ce0| 66 20 73 75 6d 6d 61 72 | 79 20 6f 66 20 65 61 63 |f summar|y of eac|
|00004cf0| 68 20 73 65 72 76 65 72 | ff d5 73 00 00 00 04 d2 |h server|..s.....|
|00004d00| 00 09 00 52 c2 62 61 73 | 69 63 20 66 75 6e 63 74 |...R.bas|ic funct|
|00004d10| 69 6f 6e 61 6c 69 74 79 | 2c 20 66 6f 6c 6c 6f 77 |ionality|, follow|
|00004d20| 65 64 20 62 79 20 61 20 | 64 65 73 63 72 69 70 74 |ed by a |descript|
|00004d30| 69 6f 6e 20 6f 66 20 74 | 68 65 20 6d 61 6a 6f 72 |ion of t|he major|
|00004d40| 20 70 69 65 63 65 73 20 | 69 6e 20 61 20 73 69 6d | pieces |in a sim|
|00004d50| 70 6c 65 20 42 65 00 00 | 04 de 00 09 00 0d c2 61 |ple Be..|.......a|
|00004d60| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 00 00 00 04 ef |pplicati|on......|
|00004d70| 00 24 00 4d c2 20 54 68 | 65 20 42 65 20 6b 65 72 |.$.M. Th|e Be ker|
|00004d80| 6e 65 6c 20 70 72 6f 76 | 69 64 65 73 20 6d 61 6e |nel prov|ides man|
|00004d90| 79 20 66 75 6e 64 61 6d | 65 6e 74 61 6c 20 73 79 |y fundam|ental sy|
|00004da0| 73 74 65 6d 20 73 65 72 | 76 69 63 65 73 20 74 6f |stem ser|vices to|
|00004db0| 20 74 68 65 20 68 69 67 | 68 65 72 2d 6c 65 76 65 | the hig|her-leve|
|00004dc0| 6c 00 00 00 04 fb 00 09 | 00 50 c2 73 65 72 76 65 |l.......|.P.serve|
|00004dd0| 72 73 20 69 6e 63 6c 75 | 64 69 6e 67 20 74 68 65 |rs inclu|ding the|
|00004de0| 20 61 62 69 6c 69 74 79 | 20 74 6f 20 64 65 61 6c | ability| to deal|
|00004df0| 20 77 69 74 68 20 6d 75 | 6c 74 69 70 6c 65 20 70 | with mu|ltiple p|
|00004e00| 72 6f 63 65 73 73 6f 72 | 73 2c 20 74 72 75 65 20 |rocessor|s, true |
|00004e10| 70 72 65 65 6d 70 74 69 | 76 65 00 00 05 07 00 09 |preempti|ve......|
|00004e20| 00 4f c2 6d 75 6c 74 69 | 74 61 73 6b 69 6e 67 20 |.O.multi|tasking |
|00004e30| 61 6e 64 20 6d 75 6c 74 | 69 74 68 72 65 61 64 69 |and mult|ithreadi|
|00004e40| 6e 67 2c 20 6d 65 6d 6f | 72 79 20 70 72 6f 74 65 |ng, memo|ry prote|
|00004e50| 63 74 69 6f 6e 2c 20 73 | 68 61 72 65 64 20 6d 65 |ction, s|hared me|
|00004e60| 6d 6f 72 79 2c 20 73 65 | 6d 61 70 68 6f 72 65 73 |mory, se|maphores|
|00004e70| 2c 00 00 00 05 13 00 09 | 00 4e c2 76 69 72 74 75 |,.......|.N.virtu|
|00004e80| 61 6c 20 6d 65 6d 6f 72 | 79 2c 20 73 68 61 72 65 |al memor|y, share|
|00004e90| 64 20 6c 69 62 72 61 72 | 69 65 73 2c 20 61 6e 64 |d librar|ies, and|
|00004ea0| 20 6c 6f 61 64 61 62 6c | 65 20 64 72 69 76 65 72 | loadabl|e driver|
|00004eb0| 73 2e 20 20 54 68 65 20 | 6b 65 72 6e 65 6c 20 73 |s. The |kernel s|
|00004ec0| 63 68 65 64 75 6c 65 72 | 00 00 05 1f 00 09 00 55 |cheduler|.......U|
|00004ed0| c2 73 75 70 70 6f 72 74 | 73 20 6d 75 6c 74 69 70 |.support|s multip|
|00004ee0| 6c 65 20 70 72 6f 63 65 | 73 73 6f 72 73 20 69 6e |le proce|ssors in|
|00004ef0| 20 61 20 6d 61 6e 6e 65 | 72 20 63 6f 6d 70 6c 65 | a manne|r comple|
|00004f00| 74 65 6c 79 20 74 72 61 | 6e 73 70 61 72 65 6e 74 |tely tra|nsparent|
|00004f10| 20 74 6f 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 | to the |applicat|
|00004f20| 69 6f 6e 2e 20 00 00 00 | 05 2b 00 09 00 59 c2 54 |ion. ...|.+...Y.T|
|00004f30| 68 69 73 20 61 6e 64 20 | 6f 74 68 65 72 20 66 65 |his and |other fe|
|00004f40| 61 74 75 72 65 73 20 6f | 66 20 74 68 65 20 6b 65 |atures o|f the ke|
|00004f50| 72 6e 65 6c 20 70 72 6f | 76 69 64 65 20 61 6e 20 |rnel pro|vide an |
|00004f60| 65 78 74 72 65 6d 65 6c | 79 20 66 61 73 74 20 61 |extremel|y fast a|
|00004f70| 6e 64 20 65 66 66 69 63 | 69 65 6e 74 20 66 6f 75 |nd effic|ient fou|
|00004f80| 6e 64 61 74 69 6f 6e 00 | 00 00 05 37 00 09 00 36 |ndation.|...7...6|
|00004f90| c2 75 70 6f 6e 20 77 68 | 69 63 68 20 74 68 65 20 |.upon wh|ich the |
|00004fa0| 72 65 73 74 20 6f 66 20 | 74 68 65 20 6f 70 65 72 |rest of |the oper|
|00004fb0| 61 74 69 6e 67 20 73 79 | 73 74 65 6d 20 69 73 20 |ating sy|stem is |
|00004fc0| 62 75 69 6c 74 2e 00 00 | 05 48 00 24 00 4f c2 54 |built...|.H.$.O.T|
|00004fd0| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 73 |he appli|cation s|
|00004fe0| 65 72 76 65 72 20 69 73 | 20 74 68 65 20 6d 61 69 |erver is| the mai|
|00004ff0| 6e 20 73 65 72 76 65 72 | 20 77 69 74 68 20 77 68 |n server| with wh|
|00005000| 69 63 68 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |ich appl|ications|
|00005010| 20 63 6f 6d 6d 75 6e 69 | 63 61 74 65 2e 00 00 00 | communi|cate....|
|00005020| 05 54 00 09 00 50 c2 49 | 74 20 69 73 20 69 6e 20 |.T...P.I|t is in |
|00005030| 63 68 61 72 67 65 20 6f | 66 20 61 6c 6c 20 74 68 |charge o|f all th|
|00005040| 65 20 77 69 6e 64 6f 77 | 20 61 6e 64 20 76 69 65 |e window| and vie|
|00005050| 77 20 6d 61 6e 61 67 65 | 6d 65 6e 74 2c 20 67 72 |w manage|ment, gr|
|00005060| 61 70 68 69 63 73 20 72 | 65 6e 64 65 72 69 6e 67 |aphics r|endering|
|00005070| 2c 20 66 6f 6e 74 00 00 | 05 60 00 09 00 52 c2 6d |, font..|.`...R.m|
|00005080| 61 6e 61 67 65 6d 65 6e | 74 2c 20 75 73 65 72 20 |anagemen|t, user |
|00005090| 69 6e 74 65 72 66 61 63 | 65 20 69 6e 74 65 72 61 |interfac|e intera|
|000050a0| 63 74 69 6f 6e 2c 20 65 | 76 65 6e 74 20 68 61 6e |ction, e|vent han|
|000050b0| 64 6c 69 6e 67 2c 20 61 | 6e 64 20 73 6f 20 6f 6e |dling, a|nd so on|
|000050c0| 2e 20 20 4f 6e 65 20 69 | 6d 70 6f 72 74 61 6e 74 |. One i|mportant|
|000050d0| 00 00 05 6c 00 09 00 4d | c2 61 73 70 65 63 74 20 |...l...M|.aspect |
|000050e0| 6f 66 20 74 68 65 20 42 | 65 20 70 72 6f 67 72 61 |of the B|e progra|
|000050f0| 6d 6d 69 6e 67 20 6d 6f | 64 65 6c 20 69 6d 70 6c |mming mo|del impl|
|00005100| 65 6d 65 6e 74 65 64 20 | 62 79 20 74 68 65 20 61 |emented |by the a|
|00005110| 70 70 6c 69 63 61 74 69 | 6f 6e 20 73 65 72 76 65 |pplicati|on serve|
|00005120| 72 20 61 6e 64 00 00 00 | 05 78 00 09 00 58 c2 69 |r and...|.x...X.i|
|00005130| 6e 74 65 72 66 61 63 65 | 20 6b 69 74 20 69 73 20 |nterface| kit is |
|00005140| 74 68 61 74 20 65 76 65 | 72 79 20 77 69 6e 64 6f |that eve|ry windo|
|00005150| 77 20 69 6e 20 74 68 65 | 20 42 65 20 73 79 73 74 |w in the| Be syst|
|00005160| 65 6d 20 69 73 20 67 69 | 76 65 6e 20 74 77 6f 20 |em is gi|ven two |
|00005170| 73 65 70 61 72 61 74 65 | 20 74 68 72 65 61 64 73 |separate| threads|
|00005180| 2e 20 20 54 68 65 00 00 | 05 84 00 09 00 54 c2 61 |. The..|.....T.a|
|00005190| 70 70 6c 69 63 61 74 69 | 6f 6e 20 73 65 72 76 65 |pplicati|on serve|
|000051a0| 72 20 6d 61 69 6e 74 61 | 69 6e 73 20 61 20 74 68 |r mainta|ins a th|
|000051b0| 72 65 61 64 20 6f 6e 20 | 74 68 65 20 73 65 72 76 |read on |the serv|
|000051c0| 65 72 20 73 69 64 65 2c | 20 77 68 69 63 68 20 63 |er side,| which c|
|000051d0| 6f 6d 6d 75 6e 69 63 61 | 74 65 73 20 77 69 74 68 |ommunica|tes with|
|000051e0| 20 61 00 00 05 90 00 09 | 00 59 c2 63 6c 69 65 6e | a......|.Y.clien|
|000051f0| 74 2d 73 69 64 65 20 74 | 68 72 65 61 64 20 72 75 |t-side t|hread ru|
|00005200| 6e 6e 69 6e 67 20 69 6e | 20 74 68 65 20 61 70 70 |nning in| the app|
|00005210| 6c 69 63 61 74 69 6f 6e | ff d5 73 20 61 64 64 72 |lication|..s addr|
|00005220| 65 73 73 20 73 70 61 63 | 65 2e 20 20 54 68 69 73 |ess spac|e. This|
|00005230| 20 61 6c 6c 6f 77 73 20 | 61 6c 6c 20 77 69 6e 64 | allows |all wind|
|00005240| 6f 77 73 00 00 00 05 9c | 00 09 00 58 c2 74 6f 20 |ows.....|...X.to |
|00005250| 75 70 64 61 74 65 20 74 | 68 65 69 72 20 63 6f 6e |update t|heir con|
|00005260| 74 65 6e 74 73 20 61 6e | 64 20 72 65 73 70 6f 6e |tents an|d respon|
|00005270| 64 20 74 6f 20 75 73 65 | 72 20 69 6e 74 65 72 61 |d to use|r intera|
|00005280| 63 74 69 6f 6e 20 61 73 | 79 6e 63 68 72 6f 6e 6f |ction as|ynchrono|
|00005290| 75 73 6c 79 2c 20 61 6e | 64 20 69 73 20 61 20 6d |usly, an|d is a m|
|000052a0| 61 6a 6f 72 00 00 05 a8 | 00 09 00 51 c2 66 61 63 |ajor....|...Q.fac|
|000052b0| 74 6f 72 20 69 6e 20 74 | 68 65 20 6f 76 65 72 61 |tor in t|he overa|
|000052c0| 6c 6c 20 72 65 73 70 6f | 6e 73 69 76 65 6e 65 73 |ll respo|nsivenes|
|000052d0| 73 20 6f 66 20 74 68 65 | 20 42 65 20 73 79 73 74 |s of the| Be syst|
|000052e0| 65 6d 2e 20 20 54 68 69 | 73 20 61 6c 73 6f 20 6d |em. Thi|s also m|
|000052f0| 65 61 6e 73 20 74 68 61 | 74 20 61 6e 79 00 00 00 |eans tha|t any...|
|00005300| 05 b4 00 09 00 55 c2 6d | 75 6c 74 69 77 69 6e 64 |.....U.m|ultiwind|
|00005310| 6f 77 65 64 20 42 65 20 | 61 70 70 6c 69 63 61 74 |owed Be |applicat|
|00005320| 69 6f 6e 20 69 73 20 61 | 75 74 6f 6d 61 74 69 63 |ion is a|utomatic|
|00005330| 61 6c 6c 79 20 6d 75 6c | 74 69 74 68 72 65 61 64 |ally mul|tithread|
|00005340| 65 64 20 61 6e 64 20 6d | 75 6c 74 69 70 72 6f 63 |ed and m|ultiproc|
|00005350| 65 73 73 69 6e 67 20 77 | 69 74 68 00 00 00 05 c0 |essing w|ith.....|
|00005360| 00 09 00 51 c2 6c 69 74 | 74 6c 65 20 77 6f 72 6b |...Q.lit|tle work|
|00005370| 20 66 72 6f 6d 20 74 68 | 65 20 64 65 76 65 6c 6f | from th|e develo|
|00005380| 70 65 72 2e 20 20 59 6f | 75 20 63 61 6e 2c 20 6f |per. Yo|u can, o|
|00005390| 66 20 63 6f 75 72 73 65 | 2c 20 73 70 61 77 6e 20 |f course|, spawn |
|000053a0| 6d 6f 72 65 20 74 68 72 | 65 61 64 73 20 66 6f 72 |more thr|eads for|
|000053b0| 20 79 6f 75 72 00 00 00 | 05 cc 00 09 00 57 c2 61 | your...|.....W.a|
|000053c0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 75 73 69 6e 67 |pplicati|on using|
|000053d0| 20 6f 74 68 65 72 20 63 | 6c 61 73 73 65 73 20 69 | other c|lasses i|
|000053e0| 6e 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |n the ap|plicatio|
|000053f0| 6e 20 66 72 61 6d 65 77 | 6f 72 6b 20 6f 72 20 74 |n framew|ork or t|
|00005400| 68 65 20 6c 6f 77 65 72 | 2d 6c 65 76 65 6c 20 6b |he lower|-level k|
|00005410| 65 72 6e 65 6c 00 00 00 | 05 d8 00 09 00 0b c2 66 |ernel...|.......f|
|00005420| 75 6e 63 74 69 6f 6e 73 | 2e 00 00 00 05 e9 00 24 |unctions|.......$|
|00005430| 00 4c c2 41 6e 6f 74 68 | 65 72 20 69 6d 70 6f 72 |.L.Anoth|er impor|
|00005440| 74 61 6e 74 20 73 65 72 | 76 65 72 20 69 73 20 74 |tant ser|ver is t|
|00005450| 68 65 20 73 74 6f 72 61 | 67 65 20 73 65 72 76 65 |he stora|ge serve|
|00005460| 72 2e 20 20 49 74 20 69 | 6d 70 6c 65 6d 65 6e 74 |r. It i|mplement|
|00005470| 73 20 74 68 65 20 62 75 | 69 6c 74 2d 69 6e 00 00 |s the bu|ilt-in..|
|00005480| 05 f5 00 09 00 4e c2 64 | 61 74 61 62 61 73 65 20 |.....N.d|atabase |
|00005490| 66 75 6e 63 74 69 6f 6e | 61 6c 69 74 79 20 69 6e |function|ality in|
|000054a0| 20 74 68 65 20 42 65 20 | 6f 70 65 72 61 74 69 6e | the Be |operatin|
|000054b0| 67 20 73 79 73 74 65 6d | 2e 20 20 54 68 65 20 73 |g system|. The s|
|000054c0| 74 6f 72 61 67 65 20 73 | 65 72 76 65 72 20 61 6c |torage s|erver al|
|000054d0| 6c 6f 77 73 00 00 06 01 | 00 09 00 53 c2 70 72 6f |lows....|...S.pro|
|000054e0| 67 72 61 6d 6d 65 72 73 | 20 74 6f 20 64 65 73 69 |grammers| to desi|
|000054f0| 67 6e 20 74 61 62 6c 65 | 73 20 74 68 61 74 20 64 |gn table|s that d|
|00005500| 65 73 63 72 69 62 65 20 | 72 65 63 6f 72 64 73 2c |escribe |records,|
|00005510| 20 63 72 65 61 74 65 20 | 61 6e 64 20 64 65 6c 65 | create |and dele|
|00005520| 74 65 20 72 65 63 6f 72 | 64 73 2c 20 61 6e 64 00 |te recor|ds, and.|
|00005530| 00 00 06 0d 00 09 00 5b | c2 72 65 63 65 69 76 65 |.......[|.receive|
|00005540| 20 6e 6f 74 69 66 69 63 | 61 74 69 6f 6e 20 6f 66 | notific|ation of|
|00005550| 20 64 61 74 61 62 61 73 | 65 20 63 68 61 6e 67 65 | databas|e change|
|00005560| 73 2e 20 20 57 69 74 68 | 20 74 68 65 20 69 6e 74 |s. With| the int|
|00005570| 65 67 72 61 74 65 64 20 | 64 61 74 61 62 61 73 65 |egrated |database|
|00005580| 2c 20 65 76 65 72 79 20 | 66 69 6c 65 20 6f 6e 20 |, every |file on |
|00005590| 74 68 65 00 00 00 06 19 | 00 09 00 58 c2 42 65 42 |the.....|...X.BeB|
|000055a0| 6f 78 20 68 61 73 20 69 | 74 73 20 6f 77 6e 20 64 |ox has i|ts own d|
|000055b0| 61 74 61 62 61 73 65 20 | 72 65 63 6f 72 64 2e 20 |atabase |record. |
|000055c0| 20 54 68 69 73 20 61 63 | 74 73 20 61 73 20 61 6e | This ac|ts as an|
|000055d0| 20 65 78 74 65 6e 73 69 | 62 6c 65 20 73 74 6f 72 | extensi|ble stor|
|000055e0| 61 67 65 20 73 79 73 74 | 65 6d 2c 20 61 6c 6c 6f |age syst|em, allo|
|000055f0| 77 69 6e 67 00 00 06 25 | 00 09 00 54 c2 70 72 6f |wing...%|...T.pro|
|00005600| 67 72 61 6d 6d 65 72 73 | 20 74 6f 20 63 72 65 61 |grammers| to crea|
|00005610| 74 65 20 75 6e 69 71 75 | 65 20 74 61 62 6c 65 73 |te uniqu|e tables|
|00005620| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 77 68 61 74 | contain|ing what|
|00005630| 65 76 65 72 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |ever inf|ormation|
|00005640| 20 74 68 65 79 20 77 61 | 6e 74 20 61 62 6f 75 74 | they wa|nt about|
|00005650| 00 00 06 31 00 09 00 57 | c2 61 20 66 69 6c 65 2e |...1...W|.a file.|
|00005660| 20 20 54 68 65 20 66 69 | 65 6c 64 73 20 69 6e 20 | The fi|elds in |
|00005670| 74 68 65 73 65 20 72 65 | 63 6f 72 64 73 20 28 61 |these re|cords (a|
|00005680| 73 20 64 65 66 69 6e 65 | 64 20 62 79 20 74 68 65 |s define|d by the|
|00005690| 20 74 61 62 6c 65 29 20 | 61 72 65 20 74 68 65 6e | table) |are then|
|000056a0| 20 73 65 61 72 63 68 61 | 62 6c 65 20 61 6e 64 00 | searcha|ble and.|
|000056b0| 00 00 06 3d 00 09 00 4e | c2 76 69 65 77 61 62 6c |...=...N|.viewabl|
|000056c0| 65 20 62 79 20 61 6c 6c | 20 61 70 70 6c 69 63 61 |e by all| applica|
|000056d0| 74 69 6f 6e 73 20 69 6e | 20 74 68 65 20 73 79 73 |tions in| the sys|
|000056e0| 74 65 6d 2e 20 20 41 64 | 64 69 74 69 6f 6e 61 6c |tem. Ad|ditional|
|000056f0| 6c 79 2c 20 74 68 65 20 | 73 74 6f 72 61 67 65 20 |ly, the |storage |
|00005700| 73 65 72 76 65 72 00 00 | 06 49 00 09 00 54 c2 69 |server..|.I...T.i|
|00005710| 6d 70 6c 65 6d 65 6e 74 | 73 20 61 20 ff d2 6c 69 |mplement|s a ..li|
|00005720| 76 65 ff d3 20 71 75 65 | 72 79 20 6d 65 63 68 61 |ve.. que|ry mecha|
|00005730| 6e 69 73 6d 20 74 68 61 | 74 20 61 6c 6c 6f 77 73 |nism tha|t allows|
|00005740| 20 61 6e 79 20 42 65 20 | 61 70 70 6c 69 63 61 74 | any Be |applicat|
|00005750| 69 6f 6e 20 74 6f 20 63 | 6f 6e 73 74 72 75 63 74 |ion to c|onstruct|
|00005760| 20 61 00 00 06 55 00 09 | 00 5b c2 71 75 65 72 79 | a...U..|.[.query|
|00005770| 20 61 6e 64 20 74 68 65 | 6e 2c 20 69 66 20 64 65 | and the|n, if de|
|00005780| 73 69 72 65 64 2c 20 67 | 65 74 20 6e 6f 74 69 66 |sired, g|et notif|
|00005790| 69 65 64 20 63 6f 6e 74 | 69 6e 75 6f 75 73 6c 79 |ied cont|inuously|
|000057a0| 20 6f 66 20 61 6e 79 20 | 63 68 61 6e 67 65 73 20 | of any |changes |
|000057b0| 74 6f 20 74 68 65 20 73 | 65 74 20 6f 66 20 72 65 |to the s|et of re|
|000057c0| 63 6f 72 64 73 00 00 00 | 06 61 00 09 00 58 c2 6c |cords...|.a...X.l|
|000057d0| 6f 63 61 74 65 64 20 62 | 79 20 74 68 65 20 71 75 |ocated b|y the qu|
|000057e0| 65 72 79 2e 20 20 54 68 | 69 73 20 62 65 68 61 76 |ery. Th|is behav|
|000057f0| 69 6f 72 20 69 73 20 73 | 65 65 6e 20 69 6e 20 74 |ior is s|een in t|
|00005800| 68 65 20 73 79 73 74 65 | 6d 20 42 72 6f 77 73 65 |he syste|m Browse|
|00005810| 72 20 28 61 6e 20 61 70 | 70 6c 69 63 61 74 69 6f |r (an ap|plicatio|
|00005820| 6e 20 61 6b 69 6e 00 00 | 06 6d 00 09 00 54 c2 74 |n akin..|.m...T.t|
|00005830| 6f 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |o the Ma|cintosh |
|00005840| 46 69 6e 64 65 72 29 20 | 77 68 69 63 68 20 69 73 |Finder) |which is|
|00005850| 20 70 61 72 74 20 6f 66 | 20 74 68 65 20 6f 70 65 | part of| the ope|
|00005860| 72 61 74 69 6e 67 20 73 | 79 73 74 65 6d 2c 20 62 |rating s|ystem, b|
|00005870| 75 74 20 74 68 69 73 20 | 73 65 72 76 69 63 65 20 |ut this |service |
|00005880| 69 73 00 00 06 79 00 09 | 00 22 c2 61 76 61 69 6c |is...y..|.".avail|
|00005890| 61 62 6c 65 20 74 6f 20 | 61 6c 6c 20 42 65 20 61 |able to |all Be a|
|000058a0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2e 00 00 06 8a |pplicati|ons.....|
|000058b0| 00 24 00 4d c2 54 68 65 | 20 6e 65 74 77 6f 72 6b |.$.M.The| network|
|000058c0| 20 73 65 72 76 65 72 20 | 70 72 6f 76 69 64 65 73 | server |provides|
|000058d0| 20 62 61 73 69 63 20 73 | 79 73 74 65 6d 20 6e 65 | basic s|ystem ne|
|000058e0| 74 77 6f 72 6b 69 6e 67 | 20 73 65 72 76 69 63 65 |tworking| service|
|000058f0| 73 2e 20 20 49 74 20 69 | 6d 70 6c 65 6d 65 6e 74 |s. It i|mplement|
|00005900| 73 00 00 00 06 96 00 09 | 00 57 c2 74 68 65 20 54 |s.......|.W.the T|
|00005910| 43 50 2f 49 50 20 70 72 | 6f 74 6f 63 6f 6c 20 73 |CP/IP pr|otocol s|
|00005920| 74 61 63 6b 20 61 6e 64 | 20 70 72 6f 76 69 64 65 |tack and| provide|
|00005930| 73 20 61 20 73 6f 63 6b | 65 74 20 69 6e 74 65 72 |s a sock|et inter|
|00005940| 66 61 63 65 20 72 65 73 | 65 6d 62 6c 69 6e 67 20 |face res|embling |
|00005950| 42 65 72 6b 65 6c 65 79 | 20 73 6f 63 6b 65 74 73 |Berkeley| sockets|
|00005960| 2e 00 00 00 06 a2 00 09 | 00 56 c2 54 68 65 72 65 |........|.V.There|
|00005970| 20 69 73 20 61 6c 73 6f | 20 61 20 50 50 50 20 6c | is also| a PPP l|
|00005980| 61 79 65 72 20 69 6e 63 | 6c 75 64 65 64 20 69 6e |ayer inc|luded in|
|00005990| 20 74 68 65 20 73 65 72 | 76 65 72 2c 20 61 6e 64 | the ser|ver, and|
|000059a0| 20 73 75 70 70 6f 72 74 | 20 66 6f 72 20 45 74 68 | support| for Eth|
|000059b0| 65 72 6e 65 74 2e 20 20 | 53 74 61 6e 64 61 72 64 |ernet. |Standard|
|000059c0| 00 00 06 ae 00 09 00 50 | c2 6e 65 74 77 6f 72 6b |.......P|.network|
|000059d0| 69 6e 67 20 74 6f 6f 6c | 73 20 73 75 63 68 20 61 |ing tool|s such a|
|000059e0| 73 20 66 74 70 2c 20 66 | 74 70 64 2c 20 61 6e 64 |s ftp, f|tpd, and|
|000059f0| 20 74 65 6c 6e 65 74 20 | 61 72 65 20 69 6e 63 6c | telnet |are incl|
|00005a00| 75 64 65 64 20 77 69 74 | 68 20 74 68 65 20 42 65 |uded wit|h the Be|
|00005a10| 20 73 79 73 74 65 6d 2e | 00 00 06 bf 00 24 00 4b | system.|.....$.K|
|00005a20| c2 54 68 65 20 6d 65 64 | 69 61 20 73 65 72 76 65 |.The med|ia serve|
|00005a30| 72 20 70 72 6f 76 69 64 | 65 73 20 61 20 73 65 74 |r provid|es a set|
|00005a40| 20 6f 66 20 74 6f 6f 6c | 73 20 66 6f 72 20 6d 61 | of tool|s for ma|
|00005a50| 6e 69 70 75 6c 61 74 69 | 6e 67 20 6c 61 72 67 65 |nipulati|ng large|
|00005a60| 20 73 74 72 65 61 6d 73 | 20 6f 66 00 00 00 06 cb | streams| of.....|
|00005a70| 00 09 00 52 c2 6d 75 6c | 74 69 6d 65 64 69 61 20 |...R.mul|timedia |
|00005a80| 64 61 74 61 2e 20 20 54 | 68 69 73 20 73 65 72 76 |data. T|his serv|
|00005a90| 65 72 20 68 61 6e 64 6c | 65 73 20 74 68 65 20 74 |er handl|es the t|
|00005aa0| 72 61 6e 73 70 6f 72 74 | 61 74 69 6f 6e 20 6f 66 |ransport|ation of|
|00005ab0| 20 62 75 66 66 65 72 73 | 20 6f 66 20 6d 65 64 69 | buffers| of medi|
|00005ac0| 61 20 64 61 74 61 00 00 | 06 d7 00 09 00 57 c2 74 |a data..|.....W.t|
|00005ad0| 68 72 6f 75 67 68 20 61 | 20 70 69 70 65 6c 69 6e |hrough a| pipelin|
|00005ae0| 65 20 6f 66 20 69 6e 74 | 65 72 65 73 74 65 64 20 |e of int|erested |
|00005af0| 64 61 74 61 20 68 61 6e | 64 6c 65 72 73 2e 20 20 |data han|dlers. |
|00005b00| 45 61 63 68 20 68 61 6e | 64 6c 65 72 20 63 61 6e |Each han|dler can|
|00005b10| 20 73 75 62 73 63 72 69 | 62 65 20 74 6f 20 61 20 | subscri|be to a |
|00005b20| 6d 65 64 69 61 00 00 00 | 06 e3 00 09 00 59 c2 73 |media...|.....Y.s|
|00005b30| 74 72 65 61 6d 2e 20 20 | 42 79 20 73 75 62 73 63 |tream. |By subsc|
|00005b40| 72 69 62 69 6e 67 2c 20 | 74 68 65 20 68 61 6e 64 |ribing, |the hand|
|00005b50| 6c 65 72 20 69 73 20 67 | 69 76 65 6e 20 61 20 63 |ler is g|iven a c|
|00005b60| 68 61 6e 63 65 20 74 6f | 20 6d 61 6e 69 70 75 6c |hance to| manipul|
|00005b70| 61 74 65 20 6f 72 20 72 | 65 61 64 20 74 68 65 20 |ate or r|ead the |
|00005b80| 64 61 74 61 20 61 73 00 | 00 00 06 ef 00 09 00 53 |data as.|.......S|
|00005b90| c2 69 74 20 70 61 73 73 | 65 73 20 74 68 72 6f 75 |.it pass|es throu|
|00005ba0| 67 68 20 74 68 65 20 73 | 79 73 74 65 6d 2e 20 20 |gh the s|ystem. |
|00005bb0| 54 68 65 20 62 75 66 66 | 65 72 73 20 61 72 65 20 |The buff|ers are |
|00005bc0| 69 6d 70 6c 65 6d 65 6e | 74 65 64 20 61 73 20 73 |implemen|ted as s|
|00005bd0| 68 61 72 65 64 20 6d 65 | 6d 6f 72 79 20 61 72 65 |hared me|mory are|
|00005be0| 61 73 2c 00 00 00 06 fb | 00 09 00 55 c2 77 68 69 |as,.....|...U.whi|
|00005bf0| 63 68 20 63 61 6e 20 62 | 65 20 72 65 61 64 20 62 |ch can b|e read b|
|00005c00| 79 20 6d 75 6c 74 69 70 | 6c 65 20 61 70 70 6c 69 |y multip|le appli|
|00005c10| 63 61 74 69 6f 6e 73 20 | 69 6e 20 73 65 70 61 72 |cations |in separ|
|00005c20| 61 74 65 20 61 64 64 72 | 65 73 73 20 73 70 61 63 |ate addr|ess spac|
|00005c30| 65 73 20 77 69 74 68 6f | 75 74 20 68 61 76 69 6e |es witho|ut havin|
|00005c40| 67 00 00 00 07 07 00 09 | 00 59 c2 74 6f 20 63 6f |g.......|.Y.to co|
|00005c50| 70 79 20 74 68 65 20 62 | 75 66 66 65 72 73 20 62 |py the b|uffers b|
|00005c60| 65 74 77 65 65 6e 20 61 | 70 70 6c 69 63 61 74 69 |etween a|pplicati|
|00005c70| 6f 6e 73 2e 20 20 41 64 | 64 69 74 69 6f 6e 61 6c |ons. Ad|ditional|
|00005c80| 6c 79 2c 20 79 6f 75 20 | 63 61 6e 20 75 73 65 20 |ly, you |can use |
|00005c90| 74 68 65 20 6d 65 64 69 | 61 20 73 65 72 76 65 72 |the medi|a server|
|00005ca0| 20 74 6f 00 00 00 07 13 | 00 09 00 56 c2 73 79 6e | to.....|...V.syn|
|00005cb0| 63 68 72 6f 6e 69 7a 65 | 20 73 65 70 61 72 61 74 |chronize| separat|
|00005cc0| 65 20 6d 65 64 69 61 20 | 73 74 72 65 61 6d 73 2c |e media |streams,|
|00005cd0| 20 75 73 69 6e 67 20 61 | 20 67 6c 6f 62 61 6c 20 | using a| global |
|00005ce0| 73 63 68 65 64 75 6c 69 | 6e 67 20 6f 62 6a 65 63 |scheduli|ng objec|
|00005cf0| 74 20 74 68 61 74 20 61 | 6c 6c 6f 77 73 20 65 61 |t that a|llows ea|
|00005d00| 73 79 00 00 07 1f 00 09 | 00 26 c2 63 6f 6f 72 64 |sy......|.&.coord|
|00005d10| 69 6e 61 74 69 6f 6e 20 | 6f 66 20 61 75 64 69 6f |ination |of audio|
|00005d20| 20 61 6e 64 20 76 69 64 | 65 6f 20 64 61 74 61 2e | and vid|eo data.|
|00005d30| 00 00 07 35 00 9e 00 16 | c3 42 65 20 41 70 70 6c |...5....|.Be Appl|
|00005d40| 69 63 61 74 69 6f 6e 20 | 42 61 73 69 63 73 00 00 |ication |Basics..|
|00005d50| 07 4b 00 09 00 57 c2 41 | 20 73 69 6d 70 6c 65 20 |.K...W.A| simple |
|00005d60| 42 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 77 |Be appli|cation w|
|00005d70| 69 6c 6c 20 70 72 69 6d | 61 72 69 6c 79 20 6d 61 |ill prim|arily ma|
|00005d80| 6b 65 20 75 73 65 20 6f | 66 20 74 68 65 20 66 65 |ke use o|f the fe|
|00005d90| 61 74 75 72 65 73 20 69 | 6e 20 74 68 65 20 61 70 |atures i|n the ap|
|00005da0| 70 6c 69 63 61 74 69 6f | 6e 20 6b 69 74 00 00 00 |plicatio|n kit...|
|00005db0| 07 57 00 09 00 54 c2 61 | 6e 64 20 74 68 65 20 69 |.W...T.a|nd the i|
|00005dc0| 6e 74 65 72 66 61 63 65 | 20 6b 69 74 2e 20 20 54 |nterface| kit. T|
|00005dd0| 68 65 20 63 6f 72 65 20 | 6f 62 6a 65 63 74 73 20 |he core |objects |
|00005de0| 75 73 65 64 20 62 79 20 | 61 6e 20 61 70 70 6c 69 |used by |an appli|
|00005df0| 63 61 74 69 6f 6e 20 61 | 72 65 20 c9 42 41 70 70 |cation a|re .BApp|
|00005e00| 6c 69 63 61 74 69 6f 6e | c2 2c 00 00 07 63 00 09 |lication|.,...c..|
|00005e10| 00 60 c9 42 57 69 6e 64 | 6f 77 c2 2c 20 20 c9 42 |.`.BWind|ow., .B|
|00005e20| 56 69 65 77 c2 2c 20 c9 | 42 4d 65 73 73 61 67 65 |View., .|BMessage|
|00005e30| c2 2c 20 61 6e 64 20 c9 | 42 4c 6f 6f 70 65 72 c2 |., and .|BLooper.|
|00005e40| 2e 20 20 c9 42 4c 6f 6f | 70 65 72 c2 20 28 66 65 |. .BLoo|per. (fe|
|00005e50| 65 6c 20 66 72 65 65 20 | 74 6f 20 63 61 6c 6c 20 |el free |to call |
|00005e60| 69 74 20 ff d2 62 6c 6f | 6f 70 65 72 ff d3 29 20 |it ..blo|oper..) |
|00005e70| 69 73 00 00 07 6f 00 09 | 00 50 c2 74 68 65 20 6d |is...o..|.P.the m|
|00005e80| 61 69 6e 20 6f 62 6a 65 | 63 74 20 75 73 65 64 20 |ain obje|ct used |
|00005e90| 74 6f 20 65 6e 63 61 70 | 73 75 6c 61 74 65 20 74 |to encap|sulate t|
|00005ea0| 68 72 65 61 64 20 73 70 | 61 77 6e 69 6e 67 20 61 |hread sp|awning a|
|00005eb0| 6e 64 20 6d 65 73 73 61 | 67 65 20 68 61 6e 64 6c |nd messa|ge handl|
|00005ec0| 69 6e 67 2e 20 20 45 61 | 63 68 00 00 07 7b 00 09 |ing. Ea|ch...{..|
|00005ed0| 00 51 c9 42 4c 6f 6f 70 | 65 72 c2 20 6f 62 6a 65 |.Q.BLoop|er. obje|
|00005ee0| 63 74 20 68 61 73 20 69 | 74 73 20 6f 77 6e 20 74 |ct has i|ts own t|
|00005ef0| 68 72 65 61 64 20 74 68 | 61 74 20 72 65 73 70 6f |hread th|at respo|
|00005f00| 6e 64 73 20 74 6f 20 6d | 65 73 73 61 67 65 73 20 |nds to m|essages |
|00005f10| 73 65 6e 74 20 74 6f 20 | 69 74 20 62 79 20 6f 74 |sent to |it by ot|
|00005f20| 68 65 72 00 00 00 07 87 | 00 09 00 52 c2 6f 62 6a |her.....|...R.obj|
|00005f30| 65 63 74 73 2e 20 20 53 | 69 6e 63 65 20 c9 42 41 |ects. S|ince .BA|
|00005f40| 70 70 6c 69 63 61 74 69 | 6f 6e c2 20 61 6e 64 20 |pplicati|on. and |
|00005f50| c9 42 57 69 6e 64 6f 77 | c2 20 62 6f 74 68 20 69 |.BWindow|. both i|
|00005f60| 6e 68 65 72 69 74 20 66 | 72 6f 6d 20 c9 42 4c 6f |nherit f|rom .BLo|
|00005f70| 6f 70 65 72 c2 20 74 68 | 65 79 20 61 72 65 00 00 |oper. th|ey are..|
|00005f80| 07 93 00 09 00 3d c2 61 | 75 74 6f 6d 61 74 69 63 |.....=.a|utomatic|
|00005f90| 61 6c 6c 79 20 6d 65 73 | 73 61 67 65 20 68 61 6e |ally mes|sage han|
|00005fa0| 64 6c 65 72 73 20 72 75 | 6e 6e 69 6e 67 20 69 6e |dlers ru|nning in|
|00005fb0| 20 74 68 65 69 72 20 6f | 77 6e 20 74 68 72 65 61 | their o|wn threa|
|00005fc0| 64 73 2e 00 00 00 07 a4 | 00 24 00 53 c2 47 65 6e |ds......|.$.S.Gen|
|00005fd0| 65 72 61 6c 6c 79 2c 20 | 61 20 c9 42 41 70 70 6c |erally, |a .BAppl|
|00005fe0| 69 63 61 74 69 6f 6e c2 | 20 6f 62 6a 65 63 74 20 |ication.| object |
|00005ff0| 69 73 20 63 72 65 61 74 | 65 64 20 66 69 72 73 74 |is creat|ed first|
|00006000| 2e 20 20 49 74 20 72 75 | 6e 73 20 61 6e 20 65 76 |. It ru|ns an ev|
|00006010| 65 6e 74 20 6c 6f 6f 70 | 20 69 6e 20 74 68 65 00 |ent loop| in the.|
|00006020| 00 00 07 b0 00 09 00 5a | c2 6d 61 69 6e 20 74 68 |.......Z|.main th|
|00006030| 72 65 61 64 20 6f 66 20 | 74 68 65 20 61 70 70 6c |read of |the appl|
|00006040| 69 63 61 74 69 6f 6e 2c | 20 61 6e 64 20 69 73 20 |ication,| and is |
|00006050| 75 73 65 64 20 66 6f 72 | 20 62 61 73 69 63 20 6d |used for| basic m|
|00006060| 65 73 73 61 67 69 6e 67 | 20 62 65 74 77 65 65 6e |essaging| between|
|00006070| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 2e 20 20 | applica|tions. |
|00006080| 49 74 00 00 07 bc 00 09 | 00 4c c2 63 61 6e 20 61 |It......|.L.can a|
|00006090| 6c 73 6f 20 62 65 20 75 | 73 65 64 20 74 6f 20 65 |lso be u|sed to e|
|000060a0| 78 63 68 61 6e 67 65 20 | 6d 65 73 73 61 67 65 73 |xchange |messages|
|000060b0| 20 77 69 74 68 20 77 69 | 6e 64 6f 77 73 20 6f 72 | with wi|ndows or|
|000060c0| 20 6f 74 68 65 72 20 74 | 68 72 65 61 64 73 20 69 | other t|hreads i|
|000060d0| 6e 20 79 6f 75 72 00 00 | 07 c8 00 09 00 58 c2 61 |n your..|.....X.a|
|000060e0| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 20 20 41 64 64 |pplicati|on. Add|
|000060f0| 69 74 69 6f 6e 61 6c 6c | 79 2c 20 74 68 65 20 c9 |itionall|y, the .|
|00006100| 42 41 70 70 6c 69 63 61 | 74 69 6f 6e c2 20 6f 62 |BApplica|tion. ob|
|00006110| 6a 65 63 74 20 72 65 63 | 65 69 76 65 73 20 6e 6f |ject rec|eives no|
|00006120| 74 69 66 69 63 61 74 69 | 6f 6e 20 6f 66 20 66 69 |tificati|on of fi|
|00006130| 6c 65 73 20 74 6f 00 00 | 07 d4 00 09 00 56 c2 6f |les to..|.....V.o|
|00006140| 70 65 6e 20 61 74 20 6c | 61 75 6e 63 68 20 74 69 |pen at l|aunch ti|
|00006150| 6d 65 20 6f 72 20 6f 6e | 63 65 20 74 68 65 20 61 |me or on|ce the a|
|00006160| 70 70 6c 69 63 61 74 69 | 6f 6e 20 69 73 20 72 75 |pplicati|on is ru|
|00006170| 6e 6e 69 6e 67 2e 20 20 | 54 68 65 20 c9 42 41 70 |nning. |The .BAp|
|00006180| 70 6c 69 63 61 74 69 6f | 6e c2 20 6f 62 6a 65 63 |plicatio|n. objec|
|00006190| 74 20 69 73 00 00 07 e0 | 00 09 00 57 c2 74 68 65 |t is....|...W.the|
|000061a0| 20 63 65 6e 74 72 61 6c | 20 63 6f 6e 74 72 6f 6c | central| control|
|000061b0| 20 6f 62 6a 65 63 74 20 | 66 72 6f 6d 20 77 68 69 | object |from whi|
|000061c0| 63 68 20 6f 74 68 65 72 | 20 77 69 6e 64 6f 77 73 |ch other| windows|
|000061d0| 20 61 6e 64 20 6f 62 6a | 65 63 74 73 20 61 72 65 | and obj|ects are|
|000061e0| 20 63 72 65 61 74 65 64 | 20 61 6e 64 20 63 61 6e | created| and can|
|000061f0| 20 62 65 00 00 00 07 ec | 00 09 00 45 c2 75 73 65 | be.....|...E.use|
|00006200| 64 20 74 6f 20 73 79 6e | 63 68 72 6f 6e 69 7a 65 |d to syn|chronize|
|00006210| 20 73 68 61 72 69 6e 67 | 20 6f 66 20 67 6c 6f 62 | sharing| of glob|
|00006220| 61 6c 20 6f 62 6a 65 63 | 74 73 20 77 69 74 68 69 |al objec|ts withi|
|00006230| 6e 20 61 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |n an app|lication|
|00006240| 2e 00 00 00 07 fd 00 24 | 00 50 c2 20 4d 6f 73 74 |.......$|.P. Most|
|00006250| 20 6f 66 20 74 68 65 20 | 63 6f 6d 6d 75 6e 69 63 | of the |communic|
|00006260| 61 74 69 6f 6e 20 62 65 | 74 77 65 65 6e 20 74 68 |ation be|tween th|
|00006270| 72 65 61 64 73 2c 20 77 | 69 6e 64 6f 77 73 2c 20 |reads, w|indows, |
|00006280| 61 6e 64 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |and appl|ications|
|00006290| 20 69 6e 20 74 68 65 20 | 42 65 00 00 08 09 00 09 | in the |Be......|
|000062a0| 00 56 c2 73 79 73 74 65 | 6d 20 69 73 20 64 6f 6e |.V.syste|m is don|
|000062b0| 65 20 75 73 69 6e 67 20 | 61 20 c9 42 4d 65 73 73 |e using |a .BMess|
|000062c0| 61 67 65 c2 20 6f 62 6a | 65 63 74 2e 20 20 41 20 |age. obj|ect. A |
|000062d0| c9 42 4d 65 73 73 61 67 | 65 c2 20 68 61 73 20 74 |.BMessag|e. has t|
|000062e0| 68 65 20 61 62 69 6c 69 | 74 79 20 74 6f 20 63 6f |he abili|ty to co|
|000062f0| 6e 74 61 69 6e 20 61 6e | 00 00 08 15 00 09 00 57 |ntain an|.......W|
|00006300| c2 61 72 62 69 74 72 61 | 72 79 20 6e 75 6d 62 65 |.arbitra|ry numbe|
|00006310| 72 20 6f 66 20 ff d2 64 | 61 74 61 ff d3 20 65 6e |r of ..d|ata.. en|
|00006320| 74 72 69 65 73 20 74 6f | 20 70 61 73 73 20 69 6e |tries to| pass in|
|00006330| 66 6f 72 6d 61 74 69 6f | 6e 20 61 72 6f 75 6e 64 |formatio|n around|
|00006340| 2c 20 61 73 20 77 65 6c | 6c 20 61 73 20 61 20 ff |, as wel|l as a .|
|00006350| d2 77 68 61 74 ff d3 00 | 00 00 08 21 00 09 00 56 |.what...|...!...V|
|00006360| c2 66 69 65 6c 64 20 74 | 6f 20 74 65 6c 6c 20 74 |.field t|o tell t|
|00006370| 68 65 20 72 65 63 65 69 | 76 65 72 20 77 68 61 74 |he recei|ver what|
|00006380| 20 74 79 70 65 20 6f 66 | 20 6d 65 73 73 61 67 65 | type of| message|
|00006390| 20 69 74 20 69 73 20 72 | 65 63 65 69 76 69 6e 67 | it is r|eceiving|
|000063a0| 2e 20 20 c9 42 4d 65 73 | 73 61 67 65 c2 73 20 61 |. .BMes|sage.s a|
|000063b0| 72 65 20 74 68 65 00 00 | 08 2d 00 09 00 56 c2 66 |re the..|.-...V.f|
|000063c0| 75 6e 64 61 6d 65 6e 74 | 61 6c 20 6f 62 6a 65 63 |undament|al objec|
|000063d0| 74 73 20 75 73 65 64 20 | 74 6f 20 73 68 61 72 65 |ts used |to share|
|000063e0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 62 65 74 | informa|tion bet|
|000063f0| 77 65 65 6e 20 74 68 72 | 65 61 64 73 20 61 6e 64 |ween thr|eads and|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.